#1   Report Post  
ceemo
 
Posts: n/a
Default sorted


i have this formula

=IF(ISNUMBER(SMALL($A$5:$A$12,ROW()-ROW($A$5)+1)),SMALL($A$5:$A$12,ROW()-ROW($A$5)+1),"")

which i use to sort in alphabetical order a list of names between
a5:a12

i would like to change this formula so that it will only include those
agents where column b contains "Yes".

im having a little trouble with this can anyone help.


--
ceemo
------------------------------------------------------------------------
ceemo's Profile: http://www.excelforum.com/member.php...o&userid=10650
View this thread: http://www.excelforum.com/showthread...hreadid=384597

  #2   Report Post  
swatsp0p
 
Posts: n/a
Default


Is this what you are looking for:

=IF($B5="Yes",IF(ISNUMBER(SMALL($A$5:$A$12,ROW()-ROW($A$5)+1)),SMALL($A$5:$A$12,ROW()-ROW($A$5)+1),""),"NO")


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=384597

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
A Sorted Affair - not urgent Gary's Student Excel Discussion (Misc queries) 0 June 6th 05 09:49 PM
Print sorted data Joseph Solis Excel Discussion (Misc queries) 1 May 29th 05 12:08 PM
Lookup thinks data isn't sorted Deb G Excel Worksheet Functions 5 May 26th 05 07:39 AM
In Excel, lists should be sorted. David Paul Excel Worksheet Functions 1 April 13th 05 03:01 PM
How do I link sorted data to other workbook sheets? Cori Excel Worksheet Functions 1 December 10th 04 05:00 PM


All times are GMT +1. The time now is 03:18 AM.

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"