+ Reply to Thread
Results 1 to 4 of 4

Making a new list

  1. #1
    cityfc
    Guest

    Making a new list

    hi
    i have 2 columns, column a has a list of names, column b has a number 1-8 in
    it.
    what i would like is on another sheet a list of the names that has a 2 in
    column d

  2. #2
    RagDyeR
    Guest

    Re: Making a new list

    With original list on Sheet1, enter this *array* formula in Sheet2, and
    enter the number you're looking up into D1 of Sheet2:

    =INDEX(Sheet1!$A$1:$A$30,SMALL(IF(Sheet1!$B$1:$B$30=$D$1,ROW($1:$30)),ROW(1:
    1)))

    --
    Array formulas are entered using CSE, <Ctrl> <Shift> <Enter>, instead of the
    regular <Enter>, which will *automatically* enclose the formula in curly
    brackets, which *cannot* be done manually.

    Copy down for as many rows as you anticipate the number of names to be
    returned.

    When you run out of names that match the lookup number in D1, you'll get
    #NUM! errors.

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "cityfc" <[email protected]> wrote in message
    news:[email protected]...
    hi
    i have 2 columns, column a has a list of names, column b has a number 1-8 in
    it.
    what i would like is on another sheet a list of the names that has a 2 in
    column d



  3. #3
    cityfc
    Guest

    Re: Making a new list

    Thanks RagDyeR but it returns an error also can this formula look for 2
    different numbers say 2 or 4 returning name in the list when either number
    was found

    thanks in advance

    "RagDyeR" wrote:

    > With original list on Sheet1, enter this *array* formula in Sheet2, and
    > enter the number you're looking up into D1 of Sheet2:
    >
    > =INDEX(Sheet1!$A$1:$A$30,SMALL(IF(Sheet1!$B$1:$B$30=$D$1,ROW($1:$30)),ROW(1:
    > 1)))
    >
    > --
    > Array formulas are entered using CSE, <Ctrl> <Shift> <Enter>, instead of the
    > regular <Enter>, which will *automatically* enclose the formula in curly
    > brackets, which *cannot* be done manually.
    >
    > Copy down for as many rows as you anticipate the number of names to be
    > returned.
    >
    > When you run out of names that match the lookup number in D1, you'll get
    > #NUM! errors.
    >
    > --
    >
    > HTH,
    >
    > RD
    > =====================================================
    > Please keep all correspondence within the Group, so all may benefit!
    > =====================================================
    >
    > "cityfc" <[email protected]> wrote in message
    > news:[email protected]...
    > hi
    > i have 2 columns, column a has a list of names, column b has a number 1-8 in
    > it.
    > what i would like is on another sheet a list of the names that has a 2 in
    > column d
    >
    >
    >


  4. #4
    cityfc
    Guest

    Re: Making a new list

    sorry RagDyeR there is no error it was me there was a space in formula that
    returned the error also can this formula look for 2 different numbers say 2
    or 4 returning name in the list when either number was found

    thanks in advance
    > different numbers say 2 or 4 returning name in the list when either number
    > was found
    >
    > thanks in advance



    "cityfc" wrote:

    > Thanks RagDyeR but it returns an error also can this formula look for 2
    > different numbers say 2 or 4 returning name in the list when either number
    > was found
    >
    > thanks in advance
    >
    > "RagDyeR" wrote:
    >
    > > With original list on Sheet1, enter this *array* formula in Sheet2, and
    > > enter the number you're looking up into D1 of Sheet2:
    > >
    > > =INDEX(Sheet1!$A$1:$A$30,SMALL(IF(Sheet1!$B$1:$B$30=$D$1,ROW($1:$30)),ROW(1:
    > > 1)))
    > >
    > > --
    > > Array formulas are entered using CSE, <Ctrl> <Shift> <Enter>, instead of the
    > > regular <Enter>, which will *automatically* enclose the formula in curly
    > > brackets, which *cannot* be done manually.
    > >
    > > Copy down for as many rows as you anticipate the number of names to be
    > > returned.
    > >
    > > When you run out of names that match the lookup number in D1, you'll get
    > > #NUM! errors.
    > >
    > > --
    > >
    > > HTH,
    > >
    > > RD
    > > =====================================================
    > > Please keep all correspondence within the Group, so all may benefit!
    > > =====================================================
    > >
    > > "cityfc" <[email protected]> wrote in message
    > > news:[email protected]...
    > > hi
    > > i have 2 columns, column a has a list of names, column b has a number 1-8 in
    > > it.
    > > what i would like is on another sheet a list of the names that has a 2 in
    > > column d
    > >
    > >
    > >


+ 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