Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default pivot tables - number of columny but need a column for each month

A pivot table gets refreshed weekly and this pivot table is a source for
other calculations that rely on the presence of a column of data for each
month. Currently, if the source data does not contain value for April, for
example, then the column for April does not exist in the pivot table. This
scews up the relative reference used in the calculation of summary data. If
there is nor data for April, then the number 0 should appear.

Can anyone help?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 220
Default pivot tables - number of columny but need a column for each month

First, let's say you have a field in your data labeled "Month". In order for
all the months to appear in your pivot table, they must be listed in "Month",
even if there is no data associated with a particular month. So if you don't
have "April" in the month column at all, it will never show up in the pivot
table.

Now, let's say all the months are listed under "Month", but some of their
associated data entries are blank (for example, "April" is listed, but its
data is blank). If you double-click on the name of the field in your pivot
table (in this case, the "Month" field), a dialog box comes up. There is a
check box that says "Show items with no data". Make sure that box is
checked. Then every month will show up in the pivot table.

The cell under that month might be blank, however. If you want it to show
zero (0) for a blank cell, select "Table Options..." from the pivot table
tool bar, and put a zero in the box for "For empty cells, show:" and make
sure the checkbox is checked.

HTH,

Eric


"bendinblues" wrote:

A pivot table gets refreshed weekly and this pivot table is a source for
other calculations that rely on the presence of a column of data for each
month. Currently, if the source data does not contain value for April, for
example, then the column for April does not exist in the pivot table. This
scews up the relative reference used in the calculation of summary data. If
there is nor data for April, then the number 0 should appear.

Can anyone help?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default pivot tables - number of columny but need a column for each mo

Take a look at the getpivotdata formula...

http://www.contextures.com/xlPivot06.html
--
HTH...

Jim Thomlinson


"EricG" wrote:

First, let's say you have a field in your data labeled "Month". In order for
all the months to appear in your pivot table, they must be listed in "Month",
even if there is no data associated with a particular month. So if you don't
have "April" in the month column at all, it will never show up in the pivot
table.

Now, let's say all the months are listed under "Month", but some of their
associated data entries are blank (for example, "April" is listed, but its
data is blank). If you double-click on the name of the field in your pivot
table (in this case, the "Month" field), a dialog box comes up. There is a
check box that says "Show items with no data". Make sure that box is
checked. Then every month will show up in the pivot table.

The cell under that month might be blank, however. If you want it to show
zero (0) for a blank cell, select "Table Options..." from the pivot table
tool bar, and put a zero in the box for "For empty cells, show:" and make
sure the checkbox is checked.

HTH,

Eric


"bendinblues" wrote:

A pivot table gets refreshed weekly and this pivot table is a source for
other calculations that rely on the presence of a column of data for each
month. Currently, if the source data does not contain value for April, for
example, then the column for April does not exist in the pivot table. This
scews up the relative reference used in the calculation of summary data. If
there is nor data for April, then the number 0 should appear.

Can anyone help?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Tables - Column Fields Cindy H Excel Discussion (Misc queries) 1 August 26th 08 12:47 AM
Decreasing number of Values in Pivot Tables Value List Rohan Excel Discussion (Misc queries) 0 May 21st 07 09:45 AM
Default Number Format - Pivot Tables Pastel Hughes Excel Discussion (Misc queries) 0 October 24th 06 01:59 PM
Pivot tables - text rather than number? JoFo Excel Worksheet Functions 0 August 9th 06 12:29 PM
Is there a limit number of characters for cells in pivot Tables? Portuga Excel Discussion (Misc queries) 2 March 15th 06 05:25 PM


All times are GMT +1. The time now is 01:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"