Can pivot value field be auto-updated?

Copper Contributor

I have a pivot table where the values fields are dependent on formulas. Is there away to auto-update the value in the Values field when the formula value updates?  I need to have the error added to the value field so that it updates when the end-user updated the result, it populates.

Capture1.JPG

11 Replies

@Scott_P_W 

 

Just to clarify,  are you saying that when a new item id added to the columns in your source table of data you'd like it to automatically add to the values field of the Pivot Table?

 

Do you have a version of Excel with Power Query and Power Pivot (Excel 2016 or Excel 2013 with addins for Power Query and Power Pivot)  as this could be the simplest solution?

 

Power Query can "unpivot" your source data so your columns become rows and that then makes it easy to drop your codes into the Rows field rather than dragging manually one at a time into the values field

 

Here's a quick video if you haven't come across Unpivot Before

https://youtu.be/2c06jmrAb3I

 

 

@Wyn Hopkins 

 

When the end user adds a new UPC, the #N/A in the values field goes away and the resulting product code appears in the top of the fields list waiting to be added. I'd like the newly added value to automatically be added to the values field in place of the #N/A.

 

I'll definitely also check out Power Pivot - looks pretty useful.

OK, so yes "Unpivotting" the data using Power Query and loading it to Power Pivot will likely be the best solution.

If you have Excel 2016 and can send me a small mocked up data set I could pull together a quick illustration for you
Unfortunately, I dont have 2016.
What version do you have?

@Wyn Hopkins 

 

2010 :(

 

I've attached a test file that I am using. Basically, the end user will choose a UPC on the dropdowns in row 4 on the first tab and then copy the values to the data worksheet.

You'll see that I have some of the unpopulated dropdowns in the values field showing #N/A. When the next dropdown in used, the error disappears and the new product code shows up at the top. I'd like it to go straight to the Values field list. A bonus would be if it would also change the description and get rid of "sum of"

 

Hope this helps :)  Thank you!

@Wyn Hopkins 

 

Says I need at least 2010 SP1, which I do not have :(  All updates are controlled by our HQ IT dept.

That's a shame.

Unfortunately I don't have any other suggestions that are practical here. It could be done with some complex VBA/Macro but that would be time consuming to develop.

I'd suggest you repost this question asking if there is a VBA solution to your problem given you don't have access to Power Query.

@Wyn Hopkins 

 

I appreciate your help. I'll be upgrading to a new laptop in the next few weeks and will pick this up where we left off if that's ok :)