#1   Report Post  
cityfc
 
Posts: n/a
Default 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   Report Post  
RagDyeR
 
Posts: n/a
Default 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$3 0=$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" wrote in message
...
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   Report Post  
cityfc
 
Posts: n/a
Default 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$3 0=$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" wrote in message
...
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   Report Post  
cityfc
 
Posts: n/a
Default 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$3 0=$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" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
list 1 has 400 names List 2 has 4000. find manes from list 1 on 2 Ed Excel Worksheet Functions 5 September 12th 05 09:48 AM
find names on list 1 in list 2. list 1 4000 names list 2 400 name Ed Excel Worksheet Functions 1 September 4th 05 12:48 AM
Making list of items to truck monthly usage Yarek Excel Discussion (Misc queries) 0 June 23rd 05 10:37 AM
making one material list from mulitple vendor material lists In the beginning Excel Worksheet Functions 1 January 8th 05 02:49 AM
making a non-validation list tjb Excel Worksheet Functions 4 January 5th 05 11:55 PM


All times are GMT +1. The time now is 09:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"