Reputation: 5
Good morning guys, I have this table below and I need to find the text associated to the biggest value in the table.
Can someone help pls?
Upvotes: 0
Views: 42
Reputation: 11978
You can do it with a Pivot Table.
Note how the max value is 946 and the text associated is Dummy Text 6
Make a Pivot Table like this:
Text
to Rows sectionValue
to Values sectionText
, choosing TOP 1That's all. The advantage of using Pivot Tables is that it may return several rows in case there is more than one record in TOP 1 position.
Upvotes: 1
Reputation: 36880
If you have Excel365
then use below formula-
=FILTER(A:A,B:B=MAX(B:B))
For older version can try-
=INDEX(A:A,MATCH(MAX(B:B),B:B,0))
Upvotes: 2