Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Robert
 
Posts: n/a
Default sort list of players by team from player list on separate sheet

Hello,
I have a sheet (sheet1) listing team members and other info including the
player number in column A and the team number in column G. This sheet is
sorted in order of player number, (i.e., column A).
I have a second sheet (sheet2) that shows the teams seperately and which
players are in them. Currently, I have to manually enter the team members
numbers again on sheet2 (column A). (I have some lookup functions to get the
other member info once the member number is filled it, so most of it is
automatic.) I would like my sheet2 to be smarter and automacally fill in the
member numbers from sheet1 as well. Above each team on sheet2 is a header
cell that indicates the team number.
Basically, I want to match the cell on sheet2 which contains the team number
to the team numbers in column G on sheet1 (except there will be more than one
match, so it won't be a simple match), then bring the team members over to
sheet2 that are in the corrosponding team, and avoid duplications in the
process.

thanks in advance for any ideas...
Robert

  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Shouldn't be too difficult but without seeing a sample layout it's hard to
be very specific. From your description this should be the basic structure
of a formula that will do what you want.

=INDEX(player number range,SMALL(IF(team number range=header cell that
indicates the team number,ROW($1:the number of rows in the player number
range),ROW(1:1)))

This is an array formula and needs to be entered using the key combo of
CTRL,SHIFT,ENTER.

Drag copying this formula down will return all the players numbers.

Biff

"Robert" wrote in message
...
Hello,
I have a sheet (sheet1) listing team members and other info including the
player number in column A and the team number in column G. This sheet is
sorted in order of player number, (i.e., column A).
I have a second sheet (sheet2) that shows the teams seperately and which
players are in them. Currently, I have to manually enter the team members
numbers again on sheet2 (column A). (I have some lookup functions to get
the
other member info once the member number is filled it, so most of it is
automatic.) I would like my sheet2 to be smarter and automacally fill in
the
member numbers from sheet1 as well. Above each team on sheet2 is a header
cell that indicates the team number.
Basically, I want to match the cell on sheet2 which contains the team
number
to the team numbers in column G on sheet1 (except there will be more than
one
match, so it won't be a simple match), then bring the team members over to
sheet2 that are in the corrosponding team, and avoid duplications in the
process.

thanks in advance for any ideas...
Robert



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
how to sort list, bolded items from no bolded? tcd50 Excel Discussion (Misc queries) 1 July 9th 05 10:29 PM
Sort a Subtotalled List? Rich Excel Discussion (Misc queries) 9 June 25th 05 11:59 AM
Excel Auto Filter: WHY'S SORT @ TOP OF LIST? WHEN I KEY TO "SHOW . Dan W Excel Worksheet Functions 0 December 1st 04 03:53 PM
Barb Reinhardt: HOW TO: Plot a Team Name .... Kevin McCartney Charts and Charting in Excel 2 December 1st 04 01:28 PM
formulating if; then; enter list striker92s Excel Worksheet Functions 1 November 18th 04 01:30 AM


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