Dynamic Excel Pivot Table

  • Our perspective table today, there is an adjective in front of the [dynamic].
  • For as long as the computer industry saw the word [dynamic], indicating that our data will vary with factors associated with some of his changes.
  • For example: The data in the table we will change, over time there will be more increases, then our "Pivot Table" in the pooled data, will change accordingly, then this is a dynamic pivot table [].
  • Small children can be a test partner, is very simple, we do practice a pivot table in the original data before the change of values, look at the data in the pivot table will not change it?
  • If not, then it is normal, we learn together.

Manually update PivotTable

Before we talk about the learning method first can make changes after the original data, it can react to the pivot table - manually update the pivot table
Here Insert Picture Description

Dynamic PivotTable

We started operation ~ ↓↓↓↓↓ test data download

1 - Scope definition data where

  • Since our data will add, delete, change. But that will not change the table structure, that is, there are several columns of the table will not change.
  • If you change it, we need statistical summary of the demand will change, and this is another question.

So let's set the 【公式】-【名称管理器】
formula

=OFFSET(动态透视表!$A$1,0,0,COUNTA(动态透视表!$A:$A),COUNTA(动态透视表!$1:$1))

Offset using the offset function setting, successively to interpret the meaning. (Function parameters "," separated by a comma, the offset of a total of five parameters)

  1. Data starting from cell A1
  2. Down 0
  3. Left 0
  4. A fetch all columns throughout all columns with data
  5. 1 taken across line number data for all rows of all

So we are not afraid of data becomes less volatile, and even add a not afraid

Here Insert Picture Description

2 - Insert PivotTable

Or as usual, insert pivot tables, but the difference here is the choice of a data area, direct reference, just created "data to"
Here Insert Picture Description

3 - Refresh Data

When our original data changes, we can directly Refresh
Here Insert Picture Description

PivotTable dynamic key points:

  1. 名称管理器Defined data
  2. Use offsetfunction
Published 23 original articles · won praise 0 · Views 4485

Guess you like

Origin blog.csdn.net/strawberry1019/article/details/104499997