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

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

just_jon

Legend
Joined
Sep 3, 2002
Messages
10,473
=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.
 

Forum statistics

Threads
1,141,734
Messages
5,708,162
Members
421,549
Latest member
Dtcfire

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
Top