How to display zero values in Group option in excel 2013

arunabharath

New member
Joined
Jun 11, 2014
Messages
1
Reaction score
0
Points
0
Hi All, I have dates for over a period of time (3 years). Let us assume I group data on Days to get weekly report. Upon grouping, I see that for some week there is no data. So I want it to appear as "Zero" for that week. But what I see is that week does not appear in the list.
Can you please help me? Your help will be greatly appreciated.
By the way I work on Excel 2013.
This is what I am trying to explain - You see that I have selected May 2014 as Month and I have daily data hence have grouped it as Days. But you can see that 5/12/2014 - 5/18/2014 and 5/19/2014 - 5/25/2014 is missing. I know they have no value but I want it to appear as zero so that my graph appears correct.
4/28/2014 - 5/4/2014 4
5/5/2014 - 5/11/2014 9
5/26/2014 - 6/1/2014 1
Please help me!
Thanks in advance
 
Could you share a file with your data in, with chart?
 
You could create a new column in your data that says if first cell ="", then 0, else data. If you don't want to view the second column, you could hide at that point as well and just have the calc.
 
There are two problems here.

The first is the missing data on the Y axis. (Your problem). This is easy. Click on the pivot table, then choose following menu Otpions:
Options, PivotTable, Options, Options and set "For empty cells show" to 0 (2010 menu sorry)

The second, missing X is a lot harder. Nothing seems wrong but the pivot chart displays a Line not XY graph so your time graph is missing sections (for instance part of May).
My only solution to this is using code, generate the pivot table and separately generate all the expected X points then add the missing time points to the data and refresh the pivot table
 
Back
Top