Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

excel pivot table query

Status
Not open for further replies.

TheRiver

IS-IT--Management
Dec 18, 2003
121
0
0
GB
I have a pivot table that I read data off.

The formula used is as follows:

IF(ISERROR(GETPIVOTDATA('By Trust and Specialty'!$A$3,"'RespWL IP - "&$B$4&"' "&$A12&" 'Current Month' '"&$D$192&" Total' '"&E$11&" Resp'")),0,GETPIVOTDATA('By Trust and Specialty'!$A$3,"'RespWL IP - "&$B$4&"' "&$A12&" 'Current Month' '"&$D$192&" Total' '"&E$11&" Resp'"))

Currently the D192 is a reference to the month and year, eg 200306. And you have a pick list to select the months data you want to reference.

But now the format of data has changed, now the pivot table does not hold all the months data on it. they are split into 12 pivot tables labelled 200304, 200305 etc.

How can I change the reference so it automatically picks up they data?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top