+ Reply to Thread
Results 1 to 3 of 3

Lookup array?

  1. #1
    HBj
    Guest

    Lookup array?


    Probably a peace of cake, but I can't work it out...

    I have an array of values in the area A1 to B3.

    I want to know if any cell in the array A1:B3 contains eg. value 5?

    LOOKUP or INDEX or MATCH?

    HBj



  2. #2
    Bob Phillips
    Guest

    Re: Lookup array?

    If you just want to know if it is in there

    =COUNTIF(A1:B3,5)>0

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "HBj" <ky1488@hotmail.com.invalid> wrote in message
    news:eCuKpIREGHA.2728@TK2MSFTNGP14.phx.gbl...
    >
    > Probably a peace of cake, but I can't work it out...
    >
    > I have an array of values in the area A1 to B3.
    >
    > I want to know if any cell in the array A1:B3 contains eg. value 5?
    >
    > LOOKUP or INDEX or MATCH?
    >
    > HBj
    >
    >




  3. #3
    HBj
    Guest

    Re: Lookup array?

    Thank you so much! I couldn't imagine it was _that_ simple....

    hbj

    "Bob Phillips" <bob.phillips@notheretiscali.co.uk> wrote in message
    news:uulv5jREGHA.2040@TK2MSFTNGP14.phx.gbl...
    > If you just want to know if it is in there
    >
    > =COUNTIF(A1:B3,5)>0
    >
    > --
    > HTH
    >
    > Bob Phillips
    >
    > (remove nothere from email address if mailing direct)
    >
    > "HBj" <ky1488@hotmail.com.invalid> wrote in message
    > news:eCuKpIREGHA.2728@TK2MSFTNGP14.phx.gbl...
    > >
    > > Probably a peace of cake, but I can't work it out...
    > >
    > > I have an array of values in the area A1 to B3.
    > >
    > > I want to know if any cell in the array A1:B3 contains eg. value 5?
    > >
    > > LOOKUP or INDEX or MATCH?
    > >
    > > HBj
    > >
    > >

    >
    >




+ 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