Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Can you combine VLOOKUP with a nest HLOOKUP?

I'm trying to match my selection from a dropdown list to a row, and then my
selection from a different drop down list to the column that matches it, so I
can retrieve the cell that both the column and row match up to... Similiar to
a times table.

My best shot is:

=IF(B4=0,"
",VLOOKUP(B4,FixType!$A$1:$V$58,(HLOOKUP(C4,FixTyp e!$A$1:$V$58,1,FALSE))))

But it only *sometimes* returns a number from the FixType worksheet, and
it's either wrong or #VALUE.

Thanks,
PC
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Can you combine VLOOKUP with a nest HLOOKUP?

Look at INDEX function which uses the intersection of row & column to
retrieve data.

"PCoyne" wrote:

I'm trying to match my selection from a dropdown list to a row, and then my
selection from a different drop down list to the column that matches it, so I
can retrieve the cell that both the column and row match up to... Similiar to
a times table.

My best shot is:

=IF(B4=0,"
",VLOOKUP(B4,FixType!$A$1:$V$58,(HLOOKUP(C4,FixTyp e!$A$1:$V$58,1,FALSE))))

But it only *sometimes* returns a number from the FixType worksheet, and
it's either wrong or #VALUE.

Thanks,
PC

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Can you combine VLOOKUP with a nest HLOOKUP?

God bless you Toppers!

=INDEX(FixType!$A$1:$V$58,MATCH(A4,FixType!$A$1:$A $58,1),MATCH(B4,FixType!$A$1:$V$1,1))

Works!!! I've been on this for two straight days. I'm so happy!

"Toppers" wrote:

Look at INDEX function which uses the intersection of row & column to
retrieve data.

"PCoyne" wrote:

I'm trying to match my selection from a dropdown list to a row, and then my
selection from a different drop down list to the column that matches it, so I
can retrieve the cell that both the column and row match up to... Similiar to
a times table.

My best shot is:

=IF(B4=0,"
",VLOOKUP(B4,FixType!$A$1:$V$58,(HLOOKUP(C4,FixTyp e!$A$1:$V$58,1,FALSE))))

But it only *sometimes* returns a number from the FixType worksheet, and
it's either wrong or #VALUE.

Thanks,
PC

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Can you combine VLOOKUP with a nest HLOOKUP?

We aim to please! Thanks for the feedback.

"PCoyne" wrote:

God bless you Toppers!

=INDEX(FixType!$A$1:$V$58,MATCH(A4,FixType!$A$1:$A $58,1),MATCH(B4,FixType!$A$1:$V$1,1))

Works!!! I've been on this for two straight days. I'm so happy!

"Toppers" wrote:

Look at INDEX function which uses the intersection of row & column to
retrieve data.

"PCoyne" wrote:

I'm trying to match my selection from a dropdown list to a row, and then my
selection from a different drop down list to the column that matches it, so I
can retrieve the cell that both the column and row match up to... Similiar to
a times table.

My best shot is:

=IF(B4=0,"
",VLOOKUP(B4,FixType!$A$1:$V$58,(HLOOKUP(C4,FixTyp e!$A$1:$V$58,1,FALSE))))

But it only *sometimes* returns a number from the FixType worksheet, and
it's either wrong or #VALUE.

Thanks,
PC

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
Combine Vlookup and Hlookup serge Excel Worksheet Functions 1 March 12th 07 03:35 AM
Can I nest Max in HLOOKUP? Cecilia Excel Worksheet Functions 1 September 13th 06 10:37 PM
Do I need to combine hlookup and countif????? sharkh Excel Worksheet Functions 2 August 17th 06 05:05 PM
HLookup, IF statement, multiple sort, somehow combine all of these Gita at CASTLE Excel Worksheet Functions 0 May 2nd 06 07:43 PM


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