Excel 365 Pro Plus with Power Pivot and Power Query.
With PP Measures, not Calculated Columns/Fields.
https://www.mediafire.com/file/acu05a0briaq4p3/07_08_21.xlsx/file
https://www.mediafire.com/file/f23jrosm6f3dvxk/07_08_21.pdf/file
Excel Pivot Calculated field
Good day,
I have the below pivot in excel
Please assist with a formula for the calculated column (% Achieved).
% Achieved is calculated by dividing the Actual by the Target.
This calculation is based on the Ind value. If Ind = 1.5, then we cap the division to 150%, if Ind = 3, then cap the division to 300%.
Please advise,
Many thanks,
Regards,
Microsoft 365 and Office | Excel | For business | Windows
2 answers
Sort by: Most helpful
-
Herbert Seidenberg 1,191 Reputation points
2021-07-08T21:15:04.98+00:00 -
Emily Hua-MSFT 27,796 Reputation points
2021-07-10T02:32:48.897+00:00 Thanks for your kind explanation.
I suggest you use a calculated field. Select the cells of pivot table, then go to Analyze tab > Calculation tab > Fields, Items, & Sets > Calculated Fields.
Enter the Field name: % Achieved. Please note, on my test, I call it "Test".
Then enter the formula= IF(AND(Ind<Actual /Target,Ind>0),Ind,Actual /Target )
.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.