Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / February 2008

Tip: Looking for answers? Try searching our database.

Can you use HLOOKUP inside VLOOKUP to tell it what column 2 return

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Otter - 08 Feb 2008 15:16 GMT
I need to find a value based on a lookup across the top of my spreadsheet and
then a value down the side and where the row and column intersect is the
value I want.
Max - 08 Feb 2008 15:43 GMT
> I need to find a value based on a lookup across the top of my spreadsheet and
> then a value down the side and where the row and column intersect is the
> value I want.

One simple way - use index/match

Assume source table below is in A1:C4

       January February
Hair    45      84
Beans   42      61
Prod3   72      29
(month col headers are text)

Assume you have the inputs in E2:F2 down
Beans   January
Prod3   February

You could put in G2:
=INDEX($B$2:$C$4,MATCH(E2,$A$2:$A$4,0),MATCH(F2,$B$1:$C$1,0))
and copy down to return the cross-hair/intersection results.
Signature

Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.