#1   Report Post  
Domenic
 
Posts: n/a
Default


Assuming that Column A contains the name, Column B contains the age, and
that your data starts on the second row...

Enter the following array formula using CONTROL+SHIFT+ENTER in D2 and
copy down:

=IF(ROW()-ROW($D$2)+1<=COUNTIF($B$2:$B$10,$C$2),INDEX(A:A,SM ALL(IF($B$2:$B$10=$C$2,ROW($B$2:$B$10)),ROW()-ROW($D$2)+1)),"")

...where C2 contains the age of interest.

Hope this helps!

Glennyboy Wrote:
If I have a columb with names and a columb with ages which function do I
use to produce a list of names with a certain age. I dont want to use
filters



--
Domenic
------------------------------------------------------------------------
Domenic's Profile: http://www.excelforum.com/member.php...o&userid=10785
View this thread: http://www.excelforum.com/showthread...hreadid=277135

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



All times are GMT +1. The time now is 09:05 AM.

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

About Us

"It's about Microsoft Excel"