Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Drop Down List Question

I have a table containing Names and Class Days:

Joe Monday
Sue Tuesday
Bob Tuesday
Sam Monday
Bill Wednesday
Jon Thursday

I want to create a list to show Names per Class Day:
Monday Tuesday Wednesday Thursday
Joe Sue Bill Jon
Sam Bob
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 751
Default Drop Down List Question

Say input is in A2:B11. Say your output starts from F1 (Monday)
through L1 and employee names start at F2. Then at F2:
Simple version (produces #NUM! when no more employees)

=INDEX($A$2:$A$11,SMALL(IF($B$2:$B$11=F$1,ROW($B$2 :$B$11)-ROW($B
$2)+1),ROW()-ROW($F$1)))

Error checking (leaves cell blank if no more employees)
=IF(ISERROR(SMALL(IF($B$2:$B$11=F$1,ROW($B$2:$B$11 )-ROW($B$2)+1),ROW()-
ROW($F$1))),"",INDEX($A$2:$A$11,SMALL(IF($B$2:$B$1 1=F$1,ROW($B$2:$B
$11)-ROW($B$2)+1),ROW()-ROW($F$1))))

Either formula is an *array* formula. Commit with Shift+Ctrl+Enter.
You can copy the formula down and across.

HTH
Kostis Vezerides


On Apr 21, 7:41 pm, Dallas PM
wrote:
I have a table containing Names and Class Days:

Joe Monday
Sue Tuesday
Bob Tuesday
Sam Monday
Bill Wednesday
Jon Thursday

I want to create a list to show Names per Class Day:
Monday Tuesday Wednesday Thursday
Joe Sue Bill Jon
Sam Bob


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Drop Down List Question

I can see the results when I "walk thru" the formula in the background, but
when I do SHIFT+CTRL+ENTER, no values are stored. I am running Excel 2003

"vezerid" wrote:

Say input is in A2:B11. Say your output starts from F1 (Monday)
through L1 and employee names start at F2. Then at F2:
Simple version (produces #NUM! when no more employees)

=INDEX($A$2:$A$11,SMALL(IF($B$2:$B$11=F$1,ROW($B$2 :$B$11)-ROW($B
$2)+1),ROW()-ROW($F$1)))

Error checking (leaves cell blank if no more employees)
=IF(ISERROR(SMALL(IF($B$2:$B$11=F$1,ROW($B$2:$B$11 )-ROW($B$2)+1),ROW()-
ROW($F$1))),"",INDEX($A$2:$A$11,SMALL(IF($B$2:$B$1 1=F$1,ROW($B$2:$B
$11)-ROW($B$2)+1),ROW()-ROW($F$1))))

Either formula is an *array* formula. Commit with Shift+Ctrl+Enter.
You can copy the formula down and across.

HTH
Kostis Vezerides


On Apr 21, 7:41 pm, Dallas PM
wrote:
I have a table containing Names and Class Days:

Joe Monday
Sue Tuesday
Bob Tuesday
Sam Monday
Bill Wednesday
Jon Thursday

I want to create a list to show Names per Class Day:
Monday Tuesday Wednesday Thursday
Joe Sue Bill Jon
Sam Bob



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 751
Default Drop Down List Question

I don;t understand this last post, what you mean by "walking through".
If your F2 (or whichever cell you chose) displays the formula, select
the cell, double-click to enter Edit mode, and then instead of Enter
use Shift+Ctrl+Enter.

Does this help?
Kostis

On Apr 21, 9:27 pm, Dallas PM
wrote:
I can see the results when I "walk thru" the formula in the background, but
when I do SHIFT+CTRL+ENTER, no values are stored. I am running Excel 2003

"vezerid" wrote:
Say input is in A2:B11. Say your output starts from F1 (Monday)
through L1 and employee names start at F2. Then at F2:
Simple version (produces #NUM! when no more employees)


=INDEX($A$2:$A$11,SMALL(IF($B$2:$B$11=F$1,ROW($B$2 :$B$11)-ROW($B
$2)+1),ROW()-ROW($F$1)))


Error checking (leaves cell blank if no more employees)
=IF(ISERROR(SMALL(IF($B$2:$B$11=F$1,ROW($B$2:$B$11 )-ROW($B$2)+1),ROW()-
ROW($F$1))),"",INDEX($A$2:$A$11,SMALL(IF($B$2:$B$1 1=F$1,ROW($B$2:$B
$11)-ROW($B$2)+1),ROW()-ROW($F$1))))


Either formula is an *array* formula. Commit with Shift+Ctrl+Enter.
You can copy the formula down and across.


HTH
Kostis Vezerides


On Apr 21, 7:41 pm, Dallas PM
wrote:
I have a table containing Names and Class Days:


Joe Monday
Sue Tuesday
Bob Tuesday
Sam Monday
Bill Wednesday
Jon Thursday


I want to create a list to show Names per Class Day:
Monday Tuesday Wednesday Thursday
Joe Sue Bill Jon
Sam Bob


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
Drop Down List Question metaltecks Excel Discussion (Misc queries) 1 October 2nd 06 03:33 PM
Drop Down List Question EyeNoNothing Excel Discussion (Misc queries) 3 February 7th 06 10:19 AM
Drop down list question LilaDuncan New Users to Excel 7 February 4th 05 04:14 PM
drop down list question [email protected] Excel Discussion (Misc queries) 1 January 20th 05 06:53 PM
Drop down list question... GR Excel Worksheet Functions 2 November 28th 04 06:21 AM


All times are GMT +1. The time now is 11:03 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"