+ Reply to Thread
Results 1 to 6 of 6

I need to return names from a work roster list based on their rostered days on/off

  1. #1
    Registered User
    Join Date
    03-31-2015
    Location
    Brisbane
    MS-Off Ver
    excel 2010
    Posts
    2

    I need to return names from a work roster list based on their rostered days on/off

    I need to return the names of those who are rostered on and have them appear in a new table based on whether or not they are rostered to work

    A B C D
    1 Name Monday Tuesday wednesday
    2 Bob off 4:00 4:00
    3 Bill 4:00 4:00 4:00
    4 Joe 4:00 off off
    5 Harry off off 4:00
    6 Jim 4:00 4:00 off

    For example I want names returned for those that are working on Monday in the following format:

    A
    1 Bill
    2 Joe
    3 Jim

    Likewise for Tuesday (separate sheet)
    A
    1 Bob
    2 Bill
    3 Jim

    If anyone can help that would be much appreciated.

  2. #2
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: I need to return names from a work roster list based on their rostered days on/off

    hi,

    Upload sample workbook with enough data to explain your requirement and make sure it is not having any sensitive data

    Punnam

  3. #3
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: I need to return names from a work roster list based on their rostered days on/off

    Here!

    Check out the attached sheet..
    Attached Files Attached Files
    Cheers!
    Deep Dave

  4. #4
    Registered User
    Join Date
    03-31-2015
    Location
    Brisbane
    MS-Off Ver
    excel 2010
    Posts
    2

    Re: I need to return names from a work roster list based on their rostered days on/off

    Thanks Needforexcell. Your a legend. Worked a treat.

  5. #5
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: I need to return names from a work roster list based on their rostered days on/off

    Glad it helps!

    Please mark the thread as solved if you have your answer!

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: I need to return names from a work roster list based on their rostered days on/off

    One way...

    Data Range
    A
    B
    C
    D
    E
    F
    1
    Name
    Monday
    Tuesday
    wednesday
    Name
    2
    Bob
    off
    4:00
    4:00
    Bill
    3
    Bill
    4:00
    4:00
    4:00
    Joe
    4
    Joe
    4:00
    off
    off
    Jim
    5
    Harry
    off
    off
    4:00
    6
    Jim
    4:00
    4:00
    off
    7
    ------
    ------
    ------
    ------
    ------
    ------


    This array formula** entered in F2:

    =IFERROR(INDEX(A:A,SMALL(IF(ISNUMBER(B$2:B$6),ROW(B$2:B$6)),ROWS(F$2:F2))),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Copy down until you get blanks.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Make a list of names from a roster that meet a certain criteria
    By robertwclark in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-08-2014, 02:09 AM
  2. Replies: 5
    Last Post: 01-19-2012, 07:18 PM
  3. calculating rostered days off
    By Xtopher in forum Excel General
    Replies: 5
    Last Post: 03-05-2010, 01:20 AM
  4. Return a list of names based on IF function formula
    By PRodgers4284 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-22-2009, 08:48 AM
  5. Replies: 5
    Last Post: 05-03-2006, 03:15 PM

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