Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want my pivot table to auto update/refresh when I add more data to the table that I am generating the pivot table from. In that case I have selected the entire worksheet to generate the pivot table. Because I have blank columns and rows in my worksheet, a column and row titles "blank" are automatically added to my pivot table.

How can I keep addding data to my chart that will automatically refresh my pivot table and not have a "blank" column or row?

share|improve this question
    
What exactly are you creating the pivot table with? Excel for Mac? Which version? – Karan Mar 7 '13 at 3:47

Simply unselect the "Blank" option in the data. Then it will not appear in the pivot. When you update this should be remembered I think.

share|improve this answer
    
Yep it does auto update. Thanks – chaines Mar 8 '13 at 0:48
1  
No worries, please remember to mark the answer as accepted. – Julian Knight Mar 8 '13 at 10:18

Rather than using the entire worksheet as the source of the pivot table data, use a dynamic range. This will expand and contract as you add and remove data. You will just need to refresh your pivot table each time you change the data. This assumes that you have all your data at the top of the worksheet and are adding new data to the bottom, so the range will expand downwards.

In Excel 2010, go to the Formulas tab and select Name Manager. Create a New range, call it something like 'all_data' (spaces aren't allowed in the name). In the 'Refers to' box, use the following formula, adapted for your own data:

=OFFSET(Source!$A$1,0,0,COUNTA(Source!$A:$A),1)

To break this down:

Source!$A$1 reference - this is usually the top left cell of your data (usually the first cell in the header row)

0,0 rows,cols - you don't want to offset from the reference so these are both zero

COUNTA(Source!$A:$A) height - this will count the number of non-blank cells in column A - change this to a column that will always have an entry for each row, for example the column that has an ID for each row

1 width - this is the number of columns across your data is - e.g. if you have columns A to E filled then this number would be 5

When you insert a new pivot table, type the named range (all_data) in the 'Table/Range' box, rather than selecting the entire worksheet.

share|improve this answer

The "Row Labels" column has a Filter drop-down menu. Deselect "blanks" from the filter list.

share|improve this answer

Just to clarify, you will need to make sure that the field settings allow for new items to be added to manual filter. Click on the data label in the pivottable field list and select field settings

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.