Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Steven
 
Posts: n/a
Default VLookup and HLookup at the same time


How do you do a vlookup and hlookup at the same time:

D E F
A 1 4 7
B 2 5 8
C 3 6 9

Where for example A E = 4

Thank you for your help.

Steven

  #2   Report Post  
John Michl
 
Posts: n/a
Default

You could use a combination of Match and Index. Assuming your table is
in the range A1:D4 (where A1 is blank and D4 = 9), the following will
work:

=INDEX(B2:D4,MATCH("A",A2:A4),MATCH("E",B1:D1))

- John

  #3   Report Post  
Domenic
 
Posts: n/a
Default

Try...

=INDEX(B2:D4,MATCH("A",A2:A4,0),MATCH("E",B1:D1,0) )

or

=INDEX(B2:D4,MATCH(F1,A2:A4,0),MATCH(G1,B1:D1,0))

....where F1 contains your first criterion, such as A, and G1 contains
your second criterion, such as E.

Hope this helps!

In article ,
Steven wrote:

How do you do a vlookup and hlookup at the same time:

D E F
A 1 4 7
B 2 5 8
C 3 6 9

Where for example A E = 4

Thank you for your help.

Steven

  #4   Report Post  
Alan Beban
 
Posts: n/a
Default

Steven wrote:
How do you do a vlookup and hlookup at the same time:

D E F
A 1 4 7
B 2 5 8
C 3 6 9

Where for example A E = 4

Thank you for your help.

Steven

Highlight your data range, including the headings; click on
Insert|Name|Create; check Top row and Left Column, OK. Then
=A D will return 4, =B D will return 2, etc.

Alan Beban
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
lookup combine vlookup with hlookup Doug Excel Worksheet Functions 2 April 23rd 23 11:42 AM
Vlookup and Hlookup Phlogiston2312 Excel Worksheet Functions 1 April 21st 05 04:59 PM
Vlookup and Hlookup Phlogiston2312 Excel Worksheet Functions 2 April 20th 05 05:09 PM
Can vlookup or hlookup look to other worksheets within a workbook. flgc54 Excel Worksheet Functions 1 March 12th 05 12:31 AM
How do I find a value in an array (VLOOKUP? HLOOKUP?) M Skabialka New Users to Excel 2 March 11th 05 02:52 AM


All times are GMT +1. The time now is 06:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"