Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculated value Before & After Date Range

Status
Not open for further replies.

ragu111

MIS
Aug 15, 2002
129
AE
i have a cross tab query like below

item 2001 2002 2003 2004 2005 2006
-----------------------------------------
item1 500 500 500 500 500 350
item2 300 400 400 400 400
item3 150 200 200 200
-----------------------------------------

if i give a date range from 01-jan-03 to 31-dec-04 i want the query to show as below:

item <2003 2003 2004 >2004
-----------------------------------------
item1 1000 500 500 850
item2 700 400 400 400
item3 150 200 200 200
-----------------------------------------

basically i need to yearly value between the date range and the total of previous and remaining value in seperate columns.

this is an asset report which will be exported from Query to Excel sheet

Ragu [pc]
 
ragu111 . . .

I'm confused! . . . [blue]whats stopping you from doing this in Excel?[/blue]

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top