jessitarexcel
Board Regular
- Joined
- Apr 6, 2022
- Messages
- 60
- Office Version
- 365
- Platform
- Windows
- Mobile
- Web
I had a look through the forums but could not find a solution to this issue.
I have a series of worksheets with data being entered and changed on a daily basis. That data is collated into a single sheet as a summary. Some of the information is not currently available in the data and therefore the pivot tables. I have this formula in the cells that contain reference data: =GETPIVOTDATA("LGA",'SAG Pivot Tables - Locked'!$AB$3,"LGA","Reference Area","Type of Residence","House"). If I have data for the reference area with the residence type house, it obviously returns the number. In the other cells, I would like to refer to the other residence types that don't appear as yet.
Example Table below:
As there are only houses in the data so far, I am getting a #REF! area in the cells for the other residence types.
I then tried adding in ISERROR((=GETPIVOTDATA("LGA",'SAG Pivot Tables - Locked'!$AB$3,"LGA","Reference Area","Type of Residence","Caravan")) - which returns a true or false value and that allows the cells to be added up properly with the true being counted as a 0.
To show the result as a 0 instead of true, I added in =IF(ISERROR((GETPIVOTDATA("Type of Residence",'SAG Pivot Tables - Locked'!$AB$3,"LGA","Reference Area","Type of Residence","Boat"))),0,0), the result shows up as 0, but if I actually enter in a caravan as a test into the data, the pivot table shows the caravan, but the formula won't pick it up.
Is there anyway to keep the formula in the cell without it showing true or false but it will still update once the data has been entered? Any assistance is sincerely appreciated.
I have a series of worksheets with data being entered and changed on a daily basis. That data is collated into a single sheet as a summary. Some of the information is not currently available in the data and therefore the pivot tables. I have this formula in the cells that contain reference data: =GETPIVOTDATA("LGA",'SAG Pivot Tables - Locked'!$AB$3,"LGA","Reference Area","Type of Residence","House"). If I have data for the reference area with the residence type house, it obviously returns the number. In the other cells, I would like to refer to the other residence types that don't appear as yet.
Example Table below:
Reference Area - House | =GETPIVOTDATA("LGA",'SAG Pivot Tables - Locked'!$AB$3,"LGA","Reference Area","Type of Residence","House") | 2 |
Reference Area - Unit | =GETPIVOTDATA("LGA",'SAG Pivot Tables - Locked'!$AB$3,"LGA","Reference Area","Type of Residence","Unit") | #REF! |
Reference Area - Boat | =GETPIVOTDATA("LGA",'SAG Pivot Tables - Locked'!$AB$3,"LGA","Reference Area","Type of Residence","Boat") | #REF! |
Reference Area - Caravan | =GETPIVOTDATA("LGA",'SAG Pivot Tables - Locked'!$AB$3,"LGA","Reference Area","Type of Residence","Caravan") | #REF! |
As there are only houses in the data so far, I am getting a #REF! area in the cells for the other residence types.
I then tried adding in ISERROR((=GETPIVOTDATA("LGA",'SAG Pivot Tables - Locked'!$AB$3,"LGA","Reference Area","Type of Residence","Caravan")) - which returns a true or false value and that allows the cells to be added up properly with the true being counted as a 0.
To show the result as a 0 instead of true, I added in =IF(ISERROR((GETPIVOTDATA("Type of Residence",'SAG Pivot Tables - Locked'!$AB$3,"LGA","Reference Area","Type of Residence","Boat"))),0,0), the result shows up as 0, but if I actually enter in a caravan as a test into the data, the pivot table shows the caravan, but the formula won't pick it up.
Is there anyway to keep the formula in the cell without it showing true or false but it will still update once the data has been entered? Any assistance is sincerely appreciated.