excel to achieve re-screening operation

Recap:

Charts do hope that the updated data can be automated update the chart, the need for mutual cooperation between various formulas. At this point needs are, the point A table of different users logged on to do a statistical chart.

1. Create a PivotTable

User id and table row location as to pivot the label, the PivotTable selected area much larger than the actual area, the amount of data overflow avoid excessive after updated.

2, the auxiliary column structure

The same user to sort, that is, the total number of statistics (G column) began to emerge from this user A5

= COUNTIFS ($ A 5: A5, A5)

Then secondary line number column configuration, this data is the only fixed identification data corresponding to the index (H column)

=ROW()

3, data matching

The need to create the chart sheet, the first input a number from 1 to n (the definition of the total number n appears according to the previous step the user can define slightly larger) (A columns), then statistical user's current need to be calculated and is equal to the current A index number (D columns) column value

=SUMIFS(Sheet6!H:H,Sheet6!A:A,$C$10,Sheet6!G:G,A56)

Then query returns the value D is equal to the line number of the column, the column is zero if D null value (B column) is returned

=IF(INDEX(Sheet6!B:B,D56,0)=0,"",INDEX(Sheet6!B:B,D56,0))

Eradicate column B and user name query location of occurrences (C column)

=IF(B56="","",SUMIFS(Sheet6!C:C,Sheet6!B:B,B56,Sheet6!A:A,$C$10))

4, Charting

FIG selecting the region to create, with a time in the PivotTable interface refresh operation, data can be generated automatically

 

Guess you like

Origin www.cnblogs.com/lzhc/p/10930772.html