+ Reply to Thread
Results 1 to 2 of 2

Multiple lookup values in =HLOOKUP

  1. #1
    Peter
    Guest

    Multiple lookup values in =HLOOKUP

    A classical formula might be =HLOOKUP(a1,a100:z100,1,FALSE). But I want to
    display the result if the lookup value = a1 or a2 or a3 or...a10 ie: anything
    in the range a1.a10, without writing a multiple nested statement. Any ideas?
    Thanks.
    --
    Peter
    London, UK

  2. #2
    Domenic
    Guest

    Re: Multiple lookup values in =HLOOKUP

    Try...

    =INDEX(A1:A10,MATCH(TRUE,INDEX(COUNTIF(A100:Z100,A1:A10)>0,0),0))

    ....confirmed with just ENTER, or...

    =INDEX(A1:A10,MATCH(TRUE,COUNTIF(A100:Z100,A1:A10)>0,0))

    ....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

    Hope this helps!

    In article <[email protected]>,
    "Peter" <[email protected]> wrote:

    > A classical formula might be =HLOOKUP(a1,a100:z100,1,FALSE). But I want to
    > display the result if the lookup value = a1 or a2 or a3 or...a10 ie: anything
    > in the range a1.a10, without writing a multiple nested statement. Any ideas?
    > Thanks.


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1