Lookup in Pivot Table

Occasional Visitor

I'm trying to lookup the max sales for a month by employee. The Pivot Table shows the layout. I know i could just use a max function to return each number, but I want a formula that will lookup an employee's name and return its max value. Additionally, I want to lookup the calculated max value and return its corresponding product ID. Any ideas for me?

1 Reply

Hi Luck,


Remove all fields from PivotTable areas, then drag the Name field to Rows area, and drag the SoldFor field to Values area.


This is will give you each employee and the sum of his sales.

The sum is the default function here, but you can change it to Max.


To do so, move the cursor to any cell in the Sum of SoldFor field, right-click, and select Summarize Values By >> Max.


After that, you can this formula to get the ID for each Max value.


Summarize Values By Max.png



Hope that helps

Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Edge insider Dev bypasses IE mode website list
HotCakeX in Enterprise on
4 Replies