Pivot table over two dates ranges

DctheDC

New Member
Joined
Jun 7, 2016
Messages
37
I have a list of items that have dates against them of date rec’d and date issued, I wish to count the number of dates per month as a running total in a pivot chart but whatever I do the resulting count is the same for both date ranges. Manually checking the data, they have different values per month.

If I run the pivot chart/table on one date range it works as expected and the line graph is displaying correctly, but when I add the second date range it displays the same results for both counts.

As an example:-

In March 17 I rec’d 25 items but issued out 10 – the values on the pivot chart should be 25 & 10
In April 17 I rec’d 10 items but issued out 20 – the values on the pivot chart should be 35 & 30

But as mentioned the values are displayed as 35 for both totals

In addition, I cannot figure out how to get the dates on the X axis to run from Mar-17 to Feb-18 and not have the running total re-set itself as is jumps from 2017 to 2018

I have the result I want by manually counting the totals per month and then calculating a running total and doing that for both data series and putting that on a normal graph, but it is very long-winded way of doing things as I have 12 separate spreadsheets I need to report against

Any help would be appreciated
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
itemreceivedissueddatemonthmonthreceivedissuedcum recdcum issued
item12502/01/2017Janjan410410
item21618/01/2017Janfeb7701180
item33303/02/2017Febmar777777
item44419/02/2017Febapr10258732
item57707/03/2017Marmay25452577
item2723/03/2017Marjun272852105
item32508/04/2017Aprjul292729132
item41024/04/2017Apraug312660158
item54510/05/2017Maysep0250183
item32526/05/2017Mayoct332433207
item42811/06/2017Junnov352335230
item52727/06/2017Jundec522287252
item12713/07/2017Jul
item22929/07/2017Jul
item32614/08/2017Aug
item43130/08/2017Aug
item52515/09/2017Sep
item23301/10/2017Oct
item32417/10/2017Octif you make the above table dynamic
item43502/11/2017Novyou can plot between any start and end month
item52318/11/2017Nov
item33704/12/2017Decnot sure what you want
item42220/12/2017Deccan you say in terms of this example ?
item51523/12/2017Dec

<colgroup><col span="2"><col><col><col><col span="12"></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,878
Messages
6,127,506
Members
449,385
Latest member
KMGLarson

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