Forum Discussion
ZRonTech
Aug 18, 2021Copper Contributor
Calculated fields in pivot
Good day, Please assist, I have a formula for capping my calculation to 100%, as per the below =IF(ISERROR(IF(AND(SUM(Actual/Target)>1,MaxInd<>0),1,SUM(Actual/Target))),0,IF(AND(SUM(Actual/Ta...
HansVogelaar
Aug 18, 2021MVP
I'm afraid I don't really understand. Does this do what you want?
=IFERROR(IF(MaxInd="",IF(SUM(Actual/Target)>3,3,IF(SUM(Actual/Target)>1.5,1,5,SUM(Actual/Target))),SUM(Actual/Target)),0)
ZRonTech
Aug 18, 2021Copper Contributor
Hi,
Apologies for the confusion. The spreadsheet is also making use of a Calculated Item (image MaxInd). So, on the pivot, the data pulls as shown in Desired image.
I would like the formula to work out the values in red (image Desired).
Please assist
Thanks
- HansVogelaarAug 18, 2021MVP
Could you attach a sample workbook?
- ZRonTechAug 19, 2021Copper ContributorHi,
I unfortunately do not have rights to share the spreadsheet
Many thanks