Horizontal lookups

MZING81

Board Regular
Joined
Mar 20, 2012
Messages
74
I have never really used an hlookup before, and need a little help, and it is possible that maybe some other formula could be used
I need the formula to find the max number in a row and then extract the text from the row 1 thats directly above it. The table is about 1200 rows, and I'd pull the formula down. The every formula needs pull the text from the same row. The formula will be in the last column "LOCATION OF MAX"

I tried and Index Match but it only pulled the last location. I tried an offset index but that didnt work either.
Any assistance would be greatly appreciated
employeelocation1location2location3location4location5location5location6location7location8location10location11totalsLOCATION OF MAX
JON DOE1500011200009location1
JON DOE210007819012
JON DOE321000400000
JON DOE4611120120011
JON DOE5
JANE DOE8
JANE DOE1
JANE DOE2
JANE DOE3
JANE DOE4
JANE DOE6

<tbody>
</tbody>
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Try something like this:

=INDIRECT(ADDRESS(1,(MATCH(MAX(B2:L2),B2:L2,0)+1)))

The first "1" is row 1. The "+1" at the end indicates that it should add 1 column to the result of the Match (since your values begin in column 2).

HTH
 
Upvote 0
Try something like this:

=INDIRECT(ADDRESS(1,(MATCH(MAX(B2:L2),B2:L2,0)+1)))

The first "1" is row 1. The "+1" at the end indicates that it should add 1 column to the result of the Match (since your values begin in column 2).

HTH
Thank you I appreciate and look forward to testing it out
 
Upvote 0

Forum statistics

Threads
1,216,562
Messages
6,131,422
Members
449,651
Latest member
Jacobs22

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