vlookup AND hlookup in one formula???

nortron

New Member
Joined
Apr 2, 2006
Messages
16
Hello All,

Okay, here's my question... One one work sheet I have dates across the top, and names across the left, with data for each name under each date...

Then I have another sheet where I want to pull specific data for a specific date, for a specific name.... So I would want to pull for name A, the data under August 5th... and so on... The only thing I could think of would be to combine vlookup and hlookup...Vlookup to get the name, hlookup to get the date....

Any ideas?

Thanks!
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
=INDEX($A$1:$J$10,MATCH(X1,$A$1:$A$10,0),MATCH(X2,$A$1:$J$1,0))

Or

=VLOOKUP(X1,$A$1:$J$10,MATCH(X2,$A$1:$J$1,0),0)

Where X1 holds a name and X2 holds a date.
 
Upvote 0

Forum statistics

Threads
1,214,944
Messages
6,122,391
Members
449,080
Latest member
Armadillos

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