Need some hlookup help

hissonrr

Board Regular
Joined
Feb 6, 2016
Messages
106
Good day all,

Having some trouble finding a solution to this.

have a table like the below...

Basically what I need to do is add a column D, that has a formula that looks horizontally down the row, and returns the formation that has the highest percentage in that row.

For example D1 would = Formation C, D2 would = Formation B, D3 would = Formation A, ect...

What formula would I need for column D?

Couldn't figure it out with my limited skills, any help would be appreciated.

I
ABC
LeaseFormation AFormation BFormation C
Lease A40%60%
Lease B90%10%
Lease C80%10%10%
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Something like this
Book1
ABCDE
1LeaseFormation AFormation BFormation C
2Lease A40%60%Formation C
3Lease B90%10%Formation B
4Lease C80%10%10%Formation A
Sheet17
Cell Formulas
RangeFormula
E2:E4E2=XLOOKUP(MAX($B2:$D2),$B2:$D2,$B$1:$D$1)
 
Upvote 0
Just use MAX icm a lookup
 
Upvote 0

Forum statistics

Threads
1,215,005
Messages
6,122,661
Members
449,091
Latest member
peppernaut

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