How to link MAX value to certain category?

olivierv

New Member
Joined
Jul 25, 2014
Messages
29
I'm coping with what is probably very easy to solve, but I just can't find the solution. Played around with MAX and VLOOKUPs, but that doesn't seem to work.

For example: cell A2 should highlight the main subsector, if a company has most of its sales in "Financial Data Services", then use "Financial Data Services" as the main subsector.


2zfpetz.png
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Excel 2010
ABCDEF
1Max LetterWERTY
2E0100000
3Y0250075
4W75015100
5W1000000
6Y0000100
7R0010000
8E0750025
9Y250101055
10R0010000
Sheet4
Cell Formulas
RangeFormula
A2=INDEX($B$1:$F$1,MATCH(MAX($B2:$F2),$B2:$F2,0))
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,728
Members
448,987
Latest member
marion_davis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top