Excel Pivot Calculated field

Rontech10111 161 Reputation points
2021-07-08T11:31:37.647+00:00

Good day,

I have the below pivot in excel

112995-capture.png

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
{count} votes

2 answers

Sort by: Most helpful
  1. Herbert Seidenberg 1,191 Reputation points
    2021-07-08T21:15:04.98+00:00

    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

    0 comments No comments

  2. Emily Hua-MSFT 27,796 Reputation points
    2021-07-10T02:32:48.897+00:00

    @Rontech10111

    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 ).

    113495-image.png


    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.