Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Combining Hlookup and vlookup

O.M.G.

I can't believe that I didn't know it... Thank you Max!


Alice

On Saturday, January 26, 2008 3:20:00 PM UTC-8, Max wrote:
One 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 results.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Dale" wrote:
I am trying to use the vlookup and hlookup to "cross hair" a cell. I have
used this combination before but I cannot remember the formula. I have items
in the first column and a month identifier in the following columns. So I am
trying to look up Beans in column A with the production in columns that have
months listed in them, i.e. column B is January, column c is February, etc.

Thanks

Dale


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
Vlookup vs Hlookup or Both? Pete Elbert Excel Worksheet Functions 7 November 28th 07 01:12 PM
hlookup & vlookup together schampiri Excel Discussion (Misc queries) 3 December 4th 06 06:06 AM
vlookup and hlookup hotelmasters Excel Worksheet Functions 4 August 15th 06 08:41 PM
VLOOKUP/HLOOKUP MsNadi Excel Discussion (Misc queries) 1 February 10th 06 07:44 PM
How do I use Vlookup or Hlookup? exsam21 Excel Discussion (Misc queries) 2 September 23rd 05 07:26 PM


All times are GMT +1. The time now is 09:09 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"