Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Can you use HLOOKUP inside VLOOKUP to tell it what column 2 return

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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Can you use HLOOKUP inside VLOOKUP to tell it what column 2 return

"Otter" wrote:
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.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
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 a value in column B but return value in Column A Ken Excel Discussion (Misc queries) 4 July 17th 07 06:22 PM
VLookup column return issue Jacky D. Excel Discussion (Misc queries) 5 July 5th 07 05:30 PM
Vlookup/hlookup without using row or column numbers Dawn - KY Excel Worksheet Functions 6 May 7th 07 05:09 PM
Can you link HLOOKUP AND VLOOKUP formulas and return their interce j.e.med Excel Worksheet Functions 2 August 24th 06 06:55 PM
Alternative to Vlookup/Hlookup to return a value. Looking for Excel Wizzards Excel Worksheet Functions 1 April 18th 05 10:07 PM


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