#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default Vlookup and Hlookup

Is it possible to have a formula use both vlookup and hlookup together?

for example if i have a columns and rows that could change, but i have
labels in those that remain constant. Can i do a hlookup to find correct
column and then a vlookup to go to the right row to retrieve one value?



--
Eric
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Vlookup and Hlookup

You can use MATCH to find the column number, like this:

=MATCH("Start date",1:1,0)

if your header is in row 1, but the start date column may vary. Then
substitute this (without the = sign) as the 3rd parameter of your
VLOOKUP. This assumes that the lookup column in your table is A, so
you may need to subtract a constant from the MATCH value if it
differs.

Hope this helps.

Pete

On Jan 15, 4:17*pm, Eric D wrote:
Is it possible to have a formula use both vlookup and hlookup together?

for example if i have a columns and rows that could change, but i have
labels in those that remain constant. *Can i do a hlookup to find correct
column and then a vlookup to go to the right row to retrieve one value?

--
Eric


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 222
Default Vlookup and Hlookup

You want an INDEX(MATCH() more than likely.

Read up on them he
http://skp.mvps.org/xl00002.htm
http://support.microsoft.com/kb/214142

--
"Actually, I *am* a rocket scientist." -- JB

Your feedback is appreciated, click YES if this post helped you.


"Eric D" wrote:

Is it possible to have a formula use both vlookup and hlookup together?

for example if i have a columns and rows that could change, but i have
labels in those that remain constant. Can i do a hlookup to find correct
column and then a vlookup to go to the right row to retrieve one value?



--
Eric

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default Vlookup and Hlookup

Thanks that works well for what i needed
--
Eric


"JBeaucaire" wrote:

You want an INDEX(MATCH() more than likely.

Read up on them he
http://skp.mvps.org/xl00002.htm
http://support.microsoft.com/kb/214142

--
"Actually, I *am* a rocket scientist." -- JB

Your feedback is appreciated, click YES if this post helped you.


"Eric D" wrote:

Is it possible to have a formula use both vlookup and hlookup together?

for example if i have a columns and rows that could change, but i have
labels in those that remain constant. Can i do a hlookup to find correct
column and then a vlookup to go to the right row to retrieve one value?



--
Eric

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 or Hlookup stew Excel Discussion (Misc queries) 8 November 13th 08 07:56 PM
VLOOKUP & HLOOKUP sahafi Excel Worksheet Functions 1 January 3rd 07 11:19 PM
can i use vlookup and hlookup together Tinman09 Excel Discussion (Misc queries) 1 November 7th 05 09:50 PM
VLookup & HLookup [email protected] Excel Discussion (Misc queries) 2 October 3rd 05 03:36 PM
Vlookup and Hlookup Phlogiston2312 Excel Worksheet Functions 1 April 21st 05 04:59 PM


All times are GMT +1. The time now is 02:20 AM.

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

About Us

"It's about Microsoft Excel"