how to group a pivot table

S

saraht

My sales guys want to see MTD, YTD and LY columns for their sales data.

I have a database which indicates the month of the sale and the sales amount
and a pivot table which shows the summary. I can group by month and year,
then for last year, I hide the detail which gives me LY sales total. For the
current year, if I hide the detail I can get the YTD number, but not the MTD
number. If I show the detail, I can see the MTD, but can't get a YTD total.

Is there a way to get just 3 columns: MTD, YTD and LY?
 
J

Jim Thomlinson

So does your source data contain an actual date or just a month and year. if
it is an actual date then you can reight click on the date field and select
group which will allow you to aggregate you data by month, quarter year...
You can also switch the aggregation to be cumulative for a year over year
comparison...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Pivot Table Comparison 0
Dates In Excel 5
index, sumproduct, or other 3
Help with an IF Statement 1
YTD SUMIF based on current date 3
How to get YTD Summary 4
Pivot table 0
Select a range of cells 2

Top