Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Sweepea
 
Posts: n/a
Default Combination of Vlookup & Hlookup

For example:
Apple Orange Pear
A 1 4 7
B 2 5 8
C 3 6 9

How do I combine vlookup and hlookup to pick up the value in Row B and
Column Orange which will be 5?

Appreciate your help. Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Combination of Vlookup & Hlookup

Maybe =index(match())

Debra Dalgleish explains it he
http://www.contextures.com/xlFunctions03.html

Sweepea wrote:

For example:
Apple Orange Pear
A 1 4 7
B 2 5 8
C 3 6 9

How do I combine vlookup and hlookup to pick up the value in Row B and
Column Orange which will be 5?

Appreciate your help. Thank you.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Combination of Vlookup & Hlookup

Hi!

Try one of these:

=VLOOKUP("B",A1:D4,MATCH("orange",A1:D1,0),0)

=INDEX(B2:D4,MATCH("B",A2:A4,0),MATCH("orange",B1: D1,0))

Better to use cells to hold the lookup criteria.

Biff

"Sweepea" wrote in message
...
For example:
Apple Orange Pear
A 1 4 7
B 2 5 8
C 3 6 9

How do I combine vlookup and hlookup to pick up the value in Row B and
Column Orange which will be 5?

Appreciate your help. Thank you.



  #4   Report Post  
Posted to microsoft.public.excel.misc
JLatham
 
Posts: n/a
Default Combination of Vlookup & Hlookup

Dave Peterson and Biff have both provided good answers.

You might find my own short tutorial about using Match() and Index() for
this type of lookup helpful. You can download a .pdf file and an associated
..xls file that tries to explain it all in an understandable way he
http://www.jlathamsite.com/teach/Exc...ndexLesson.pdf
http://www.jlathamsite.com/teach/Exc...ndexLesson.xls

Hope this helps some. There's also recommended reading mentioned in the
..pdf document to help you on your journeys through Excel-land.

"Sweepea" wrote:

For example:
Apple Orange Pear
A 1 4 7
B 2 5 8
C 3 6 9

How do I combine vlookup and hlookup to pick up the value in Row B and
Column Orange which will be 5?

Appreciate your help. Thank you.

  #5   Report Post  
Posted to microsoft.public.excel.misc
Alan Beban
 
Posts: n/a
Default Combination of Vlookup & Hlookup

Highlight your table; click on Insert|Name|Create and select Top row and
Left column

Then =Orange B will return 5, =Pear C will return 9, etc.

Alan Beban

Sweepea wrote:
For example:
Apple Orange Pear
A 1 4 7
B 2 5 8
C 3 6 9

How do I combine vlookup and hlookup to pick up the value in Row B and
Column Orange which will be 5?

Appreciate your help. Thank you.



  #6   Report Post  
Posted to microsoft.public.excel.misc
Alan Beban
 
Posts: n/a
Default Combination of Vlookup & Hlookup

Oops! Except for some arcane Excel reason you can't use C or R as row
names. You could substitute _C and _R.

Alan Beban

Alan Beban wrote:
Highlight your table; click on Insert|Name|Create and select Top row and
Left column

Then =Orange B will return 5, =Pear C will return 9, etc.

Alan Beban

Sweepea wrote:
For example:
Apple Orange Pear
A 1 4 7
B 2 5 8
C 3 6 9

How do I combine vlookup and hlookup to pick up the value in Row B and
Column Orange which will be 5?

Appreciate your help. Thank you.

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
can hlookup and vlookup be used in combination ? Arul T Excel Discussion (Misc queries) 2 April 20th 06 10:59 AM
How do I use Vlookup or Hlookup? exsam21 Excel Discussion (Misc queries) 2 September 23rd 05 07:26 PM
Combination of H & Vlookup?? giantwolf Excel Worksheet Functions 5 August 9th 05 02:22 PM
Vlookup and Hlookup Phlogiston2312 Excel Worksheet Functions 1 April 21st 05 04:59 PM
SUMIF - HLOOKUP Combination Mark Excel Worksheet Functions 1 February 4th 05 08:03 PM


All times are GMT +1. The time now is 12:01 PM.

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"