Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 394
Default HLOOKUP on Two Ranges

Hi,

I would like a formula please.
I have a table in cells c4:aa7.
I want to lookup the value in cell B10 where the table array is in
cells C4:AA5 and the row index number is 2.
But I also want it to lookup the same cell B10 in C6:AA7 with the same
row index 2 please.

Thanks in Advance.
All the Best.
Paul

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 791
Default HLOOKUP on Two Ranges

=IF(ISERROR(HLOOKUP(B10,C4:AA5,2,FALSE)),HLOOKUP(B 10,C6:AA7,2,FALSE),HLOOKUP(B10,C4:AA5,2,FALSE))

This formula will look at both ranges at the same time,
--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"Paul Black" wrote:

Hi,

I would like a formula please.
I have a table in cells c4:aa7.
I want to lookup the value in cell B10 where the table array is in
cells C4:AA5 and the row index number is 2.
But I also want it to lookup the same cell B10 in C6:AA7 with the same
row index 2 please.

Thanks in Advance.
All the Best.
Paul


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
how copy formula that contains ranges so ranges do not overlap Patty Excel Worksheet Functions 1 November 20th 08 04:15 PM
union of named ranges based only on the names of those ranges sloth Excel Programming 3 October 2nd 06 03:18 AM
Copy data in named ranges to a newer version of the same template to identical ranges handstand Excel Programming 0 August 21st 06 03:51 PM
hlookup via vba TxRaistlin Excel Programming 0 February 21st 05 10:25 PM
named ranges - changing ranges with month selected gr8guy Excel Programming 2 May 28th 04 04:50 AM


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