+ Reply to Thread
Results 1 to 3 of 3

look up formulas

Hybrid View

  1. #1
    Jill_
    Guest

    look up formulas

    I need a forumula that will give me mulitipal answers.

    I have a constant value that is looking that value up in a chart and from
    that constant value I need it to return the corresponding names.

    ie #01001

    Chart
    01001 name 1
    00001 name 2
    11000 name 3
    01001 name 4
    01001 name 5

    I am needing it to list NAME 1, NAME 4 and NAME 5

    How do I write this?

  2. #2
    Domenic
    Guest

    Re: look up formulas

    Assuming that A2:B6 contains the data, try the following formula, which
    needs to be confirmed with CONTROL+SHIFT+ENTER, not just ENTER...

    E2, copied down:

    =IF(ROWS(E$2:E2)<=COUNTIF($A$2:$A$6,$D$2),INDEX($B$2:$B$6,SMALL(IF($A$2:$
    A$6=$D$2,ROW($A$2:$A$6)-ROW($A$2)+1),ROWS(E$2:E2))),"")

    ....where D2 contains the value of interest, such as 01001.

    Hope this helps!

    In article <9F01F81B-EF0A-48BD-923A-93C579678815@microsoft.com>,
    Jill_ <Jill@discussions.microsoft.com> wrote:

    > I need a forumula that will give me mulitipal answers.
    >
    > I have a constant value that is looking that value up in a chart and from
    > that constant value I need it to return the corresponding names.
    >
    > ie #01001
    >
    > Chart
    > 01001 name 1
    > 00001 name 2
    > 11000 name 3
    > 01001 name 4
    > 01001 name 5
    >
    > I am needing it to list NAME 1, NAME 4 and NAME 5
    >
    > How do I write this?


  3. #3
    Jill_
    Guest

    Re: look up formulas

    Thanks Domenic, you are awesome! That helped out a lot!

    "Domenic" wrote:

    > Assuming that A2:B6 contains the data, try the following formula, which
    > needs to be confirmed with CONTROL+SHIFT+ENTER, not just ENTER...
    >
    > E2, copied down:
    >
    > =IF(ROWS(E$2:E2)<=COUNTIF($A$2:$A$6,$D$2),INDEX($B$2:$B$6,SMALL(IF($A$2:$
    > A$6=$D$2,ROW($A$2:$A$6)-ROW($A$2)+1),ROWS(E$2:E2))),"")
    >
    > ....where D2 contains the value of interest, such as 01001.
    >
    > Hope this helps!
    >
    > In article <9F01F81B-EF0A-48BD-923A-93C579678815@microsoft.com>,
    > Jill_ <Jill@discussions.microsoft.com> wrote:
    >
    > > I need a forumula that will give me mulitipal answers.
    > >
    > > I have a constant value that is looking that value up in a chart and from
    > > that constant value I need it to return the corresponding names.
    > >
    > > ie #01001
    > >
    > > Chart
    > > 01001 name 1
    > > 00001 name 2
    > > 11000 name 3
    > > 01001 name 4
    > > 01001 name 5
    > >
    > > I am needing it to list NAME 1, NAME 4 and NAME 5
    > >
    > > How do I write this?

    >


+ 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