Combining HLookup and VLookup?

DD-SF

New Member
Joined
Dec 21, 2005
Messages
25
I have a table of data, with unique rows and unique columns.

I need to be able to select a specific cell, if I provide the row and column specification. (Sort of a combination of Hlookup and Vlookup?) I need an answer that only provides exact matches.

Example: if Column A had names of people, and Row 1 had months of the year, I want to be able to say "provide the value of Sam in September".

Thanks to anyone who can help with the formula.

Appreciate it. (and Happy Holiday to all)
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Assuming you have 10 names in A2:A10 and months (in text format, e.g. "Jan") in B1:M1

then try

=INDEX(B2:M10,MATCH("Sam",A2:A10,0),MATCH("Sep",B1:M1,0))

You can replace "Sam" and "Sep" with cell references
 
Upvote 0

Forum statistics

Threads
1,215,943
Messages
6,127,826
Members
449,411
Latest member
adunn_23

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