Rolling this year to last year in a report in Access 2K

nowanda

Board Regular
Joined
May 27, 2002
Messages
67
Howdy!

I have a query in MS Access 2000 which gives me results like this:
mnth_coll Salesman Percent Total
200207 Robert 23 36
200207 James 25 52
200208 Robert 66 75
200208 James 57 60
...
200308 Robert 28 30
200308 James 54 57

I'm trying to produce one report for the calendar year and another for the project year (September to August). How would I roll the results into the following format (Query or Report)? I'm sure the answer is simple - but I've been banging my head against my desk at work! (I would have two separate reports/queries - but for this example here is James as calendar year and Robert as Project Year):
Book1
ABCDE
1CalendarLastYear(s)LastYear(s)ThisYearThisYear
2JAMESPercentTotalPercentTotal
3January0074125
4February0091160
5March0097120
6April0092150
7May0097145
8June0073100
9July255295150
10August57605457
11September233000
12October9813000
13November6911000
14December8611500
15ProjectLastYear(s)LastYear(s)ThisYearThisYear
16ROBERTPercentTotalPercentTotal
17September002530
18October004450
19November004150
20December006065
21January005065
22February005365
23March005565
24April005965
25May005970
26June005563
27July23366977
28August66752830
Sheet1


Many thanks!
Nowanda:)
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Forum statistics

Threads
1,221,553
Messages
6,160,467
Members
451,649
Latest member
fahad_ibnfurjan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top