+ Reply to Thread
Results 1 to 4 of 4

Names based on team names

Hybrid View

inayat Names based on team names 10-10-2011, 03:58 AM
TMS Re: Names based on team names 10-10-2011, 04:27 AM
inayat Re: Names based on team names 10-10-2011, 06:55 AM
TMS Re: Names based on team names 10-10-2011, 07:09 AM
  1. #1
    Forum Contributor
    Join Date
    08-01-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    182

    Names based on team names

    Hi All,

    I have a master sheet that contains all the data. Then I have individual team sheets. What I need is to take the data from the master sheet and put it in the team sheets based on the team of the individual. I tried a formula that I had saved from a previous post in this forum and tweaked it a little. It is getting all the names. However, it is giving a 0 when it does not find any name. Attached sheet may help. Please suggest how to get the 0 removed. Also, if there is any other way to do this.

    Cheers-
    Inayat
    Attached Files Attached Files
    Last edited by inayat; 10-10-2011 at 07:41 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,440

    Re: Names based on team names

    Try:

    =IF(ISERROR(INDEX('Overall Details'!$A$2:$A$51,SMALL(IF('Overall Details'!$B$2:$B$51='Team 1'!$B$2:$E$2,ROW('Overall Details'!$A$2:$A$51)-1,""),ROWS('Overall Details'!$A$2:A2)))),"",INDEX('Overall Details'!$A$2:$A$51,SMALL(IF('Overall Details'!$B$2:$B$51='Team 1'!$B$2:$E$2,ROW('Overall Details'!$A$2:$A$51)-1,""),ROWS('Overall Details'!$A$2:A2))))&""


    That's just added &"" to the end. Confirmed with Ctrl-Shitf-Enter.


    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    08-01-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    182

    Re: Names based on team names

    Thanks that did it...
    However I have some additions to this..

    - In Column C we have two values "IN" or "Out". If the value is "IN", name will be displayed
    - In Column C, if the value is "Out", then in Column D we have a date associated with it. If the date is greater than today(). then only the name should be displayed, otherwise not.

    Attached is the sheet.

    Mods - Do you think I should open a new thread for this as the question has changed completely, I guess.
    Attached Files Attached Files

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,440

    Re: Names based on team names

    Do you think I should open a new thread
    The original question has been answered and you'll get more interest with a new thread.

    Thanks for the rep. You should mark this thread as solved and start a new one.

    Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1