+ Reply to Thread
Results 1 to 3 of 3

Returning multiple corresponding values using lookup in a list

  1. #1
    Wk
    Guest

    Returning multiple corresponding values using lookup in a list

    I am using the following formula to lookup information that is in Column A in
    order to return the value in Column B. There is duplicate information in
    Column A, but different corresponding information in Column B. The following
    formula works, but when I try to add a row at the top (above the list of
    information), the formula no longer works. Can you help?

    =INDEX($A$1:$C$40,SMALL(IF($A$1:$A$40=$A$50,ROW($A$1:$A$40)),ROW(1:1)),2))

  2. #2
    Domenic
    Guest

    Re: Returning multiple corresponding values using lookup in a list

    If, for example, you enter the formula in B50 and copy it down the
    column, try...

    =INDEX($A$1:$C$40,SMALL(IF($A$1:$A$40=$A$50,ROW($A$1:$A$40)-ROW($A$1)+1),
    ROWS($B$50:B50)),2)

    ....confirmed with CONTROL+SHIFT+ENTER.

    Hope this helps!

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

    > I am using the following formula to lookup information that is in Column A in
    > order to return the value in Column B. There is duplicate information in
    > Column A, but different corresponding information in Column B. The following
    > formula works, but when I try to add a row at the top (above the list of
    > information), the formula no longer works. Can you help?
    >
    > =INDEX($A$1:$C$40,SMALL(IF($A$1:$A$40=$A$50,ROW($A$1:$A$40)),ROW(1:1)),2))


  3. #3
    Wk
    Guest

    Re: Returning multiple corresponding values using lookup in a list

    That worked. Thanks!!!

    "Domenic" wrote:

    > If, for example, you enter the formula in B50 and copy it down the
    > column, try...
    >
    > =INDEX($A$1:$C$40,SMALL(IF($A$1:$A$40=$A$50,ROW($A$1:$A$40)-ROW($A$1)+1),
    > ROWS($B$50:B50)),2)
    >
    > ....confirmed with CONTROL+SHIFT+ENTER.
    >
    > Hope this helps!
    >
    > In article <[email protected]>,
    > "Wk" <[email protected]> wrote:
    >
    > > I am using the following formula to lookup information that is in Column A in
    > > order to return the value in Column B. There is duplicate information in
    > > Column A, but different corresponding information in Column B. The following
    > > formula works, but when I try to add a row at the top (above the list of
    > > information), the formula no longer works. Can you help?
    > >
    > > =INDEX($A$1:$C$40,SMALL(IF($A$1:$A$40=$A$50,ROW($A$1:$A$40)),ROW(1:1)),2))

    >


+ 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