Hi All,
I need a help here, it looks easier but i got stuck here.
For example i have a table(actually its a large data table) with project numbers between 10
and 14 which were entered on different dates with different Amount of Charges.
ID Project_Nr Charges Date
1 10 130,00 01.01.2005
2 10 120,00 04.01.2005
3 10 100,00 10.01.2005
4 11 110,00 15.01.2005
5 11 90,00 20.01.2005
6 12 80,00 03.02.2005
7 12 140,00 15.02.2005
8 10 130,00 16.02.2005
9 10 120,00 19.02.2005
10 13 110,00 27.02.2005
11 13 90,00 02.03.2005
12 12 200,00 05.03.2005
13 12 120,00 09.03.2005
14 14 120,00 12.03.2005
15 14 150,00 23.03.2005
I want to get the end result like this ( if its possible ) [ by query ]
ProjectNr Jan(Charges) Feb March EachTotal Total
10 350 250 0 600 1810
11 200 0 0 200
12 0 220 320 540
13 0 110 90 200
14 0 0 270 270
Because after getting this i have to use this query result in Excel to compare with actual data
( In Excel the actual data is in above format )
Thanks a lot,
I need a help here, it looks easier but i got stuck here.
For example i have a table(actually its a large data table) with project numbers between 10
and 14 which were entered on different dates with different Amount of Charges.
ID Project_Nr Charges Date
1 10 130,00 01.01.2005
2 10 120,00 04.01.2005
3 10 100,00 10.01.2005
4 11 110,00 15.01.2005
5 11 90,00 20.01.2005
6 12 80,00 03.02.2005
7 12 140,00 15.02.2005
8 10 130,00 16.02.2005
9 10 120,00 19.02.2005
10 13 110,00 27.02.2005
11 13 90,00 02.03.2005
12 12 200,00 05.03.2005
13 12 120,00 09.03.2005
14 14 120,00 12.03.2005
15 14 150,00 23.03.2005
I want to get the end result like this ( if its possible ) [ by query ]
ProjectNr Jan(Charges) Feb March EachTotal Total
10 350 250 0 600 1810
11 200 0 0 200
12 0 220 320 540
13 0 110 90 200
14 0 0 270 270
Because after getting this i have to use this query result in Excel to compare with actual data
( In Excel the actual data is in above format )
Thanks a lot,