+ Reply to Thread
Results 1 to 12 of 12

Overtime sheet in Excel

  1. #1
    Registered User
    Join Date
    03-16-2019
    Location
    newark, nj
    MS-Off Ver
    2016
    Posts
    13

    Overtime sheet in Excel

    I am trying to create a rotating list of employees. Currently I have a list of employees in the Employees tab that will populate in order when the respective number is placed in C2 in the Employees tab. However, I am trying to see if there is an easier way of doing this. Previously I had a drop-down that allowed me to add more staff with the =Offset option, however they where not populating the remain staff in the other cells. I would like for the Staff Rotation in OT Sheet tab to auto fill so that if I pick Staff D in B31 Staff E will auto populate in B32 and so on. Or is the way I currently have it the best option. Thank you once again.
    Attached Files Attached Files

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Overtime sheet in Excel

    Quote Originally Posted by nolomcdc View Post
    Currently I have a list of employees in the Employees tab that will populate in order when the respective number is placed in C2 in the Employees tab.
    what

    which list is which

    how is this supposed to work

    I would like for the Staff Rotation in OT Sheet tab to auto fill so that if I pick Staff D in B31 Staff E will auto populate in B32 and so on.
    what do you mean by "and so on"

    Also, I dunno what you're trying to do, but doing it with merged cells is wrong.
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

  3. #3
    Registered User
    Join Date
    03-16-2019
    Location
    newark, nj
    MS-Off Ver
    2016
    Posts
    13

    Re: Overtime sheet in Excel

    I am trying to create a drop down box that has a list of staff workers. When the staff is selected from the drop down I need the rest of the cells to populate the remaining staff in order.
    for example is I have A, B, C,D,E and pick C as the first drop down the others should populate as D, E, A, B

  4. #4
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Overtime sheet in Excel

    In D2 and pull down:
    Please Login or Register  to view this content.
    In E2 and pull down:
    Please Login or Register  to view this content.
    No dropdown needed, as long as you have less than 999 employees. (In which case you just, like, change the number to be bigger).

    That do it for you?

  5. #5
    Registered User
    Join Date
    03-16-2019
    Location
    newark, nj
    MS-Off Ver
    2016
    Posts
    13

    Re: Overtime sheet in Excel

    Thank you for that, it does work but I wanted to see if it would be possible to create a drop down that I could put in OT Sheet B31 that would auto fill the other cells B32:B40. The formula you provided however does work.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,980

    Re: Overtime sheet in Excel

    This proposal will employ a number of named ranges based on cells P30:Y39 (which may be moved and/or hidden for aesthetic purposes).
    P30:Y30 is named Rotation_1
    P31:P39 is named Staff_A, Q31:Q39 is named Staff_B etc.
    B31 is populated using a drop down that uses Rotation_1 as the source.
    B32:B40 are populated using: =INDEX(INDIRECT(SUBSTITUTE(B$31," ","_")),ROWS(A$1:A1))
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  7. #7
    Registered User
    Join Date
    03-16-2019
    Location
    newark, nj
    MS-Off Ver
    2016
    Posts
    13

    Re: Overtime sheet in Excel

    I am not sure why I keep having issues trying to open file from this site. My computer keeps telling me they are corrupted. I tried to copy the formula you posted but I get a ref error is this because of the A1 ref?

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,980

    Re: Overtime sheet in Excel

    Try to upload again and if it doesn't work this time I'll upload the file again, although I just opened it from another computer without issue. The formula possibly yields an #REF because the named ranges have not been set up.

  9. #9
    Registered User
    Join Date
    03-16-2019
    Location
    newark, nj
    MS-Off Ver
    2016
    Posts
    13

    Re: Overtime sheet in Excel

    yeah I just tried it again and it still failed. I seem to have the same issue when trying to open any file from this site.

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,980

    Re: Overtime sheet in Excel

    Here is the file again.
    Perhaps if there is another computer from which you could download that might work.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    03-16-2019
    Location
    newark, nj
    MS-Off Ver
    2016
    Posts
    13

    Re: Overtime sheet in Excel

    Thank you it works but I am having an issue as to adding new employees. I would like to make it as user friendly as possible and wanted to see if there was a easier way of adding a new staff.

  12. #12
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,980

    Re: Overtime sheet in Excel

    Perhaps this will be better.
    On the employee sheet A1:B11 is converted to tbl_Staff which may be appended by selecting cell B11 and pressing the Tab key.
    On the OT sheet cell M31 is populated using: =INDEX(tbl_Staff['#],MATCH(B31,tbl_Staff[STAFF ROTATION],0))
    M32:M40 are populated using: =IF(MOD(SUM(M31,1),Employees!F$1)=0,Employees!F$1,MOD(SUM(M31,1),Employees!F$1))
    Note that M31:M40 may be moved and/or hidden for aesthetic purposes.
    Cell B31 is still populated using data validation with the source =Rotation_1.
    The 'Refers to:' of the named range Rotation_1 is changed to =tbl_Staff[STAFF ROTATION]
    Cells B32:B40 are populated using: =INDEX(tbl_Staff[STAFF ROTATION],MATCH(M32,tbl_Staff['#],0))
    Let us know if you have any questions.
    Attached Files Attached Files

+ 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. [SOLVED] Calculating Overtime Hours for each Day on a 40+ Overtime per Week Basis
    By HumdrumPanic in forum Excel General
    Replies: 5
    Last Post: 09-30-2020, 12:55 PM
  2. Replies: 3
    Last Post: 01-21-2016, 06:07 PM
  3. Replies: 7
    Last Post: 10-07-2014, 10:00 PM
  4. [SOLVED] Add an amount to wages if Overtime worked, but show zero if there is no overtime
    By KazzICC in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-14-2014, 01:55 AM
  5. Need Overtime Calculation sheet
    By roshy2020 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-20-2013, 04:05 AM
  6. Replies: 2
    Last Post: 06-25-2012, 09:30 AM
  7. Overtime Sheet
    By marty mc in forum Excel General
    Replies: 5
    Last Post: 05-27-2010, 06:46 AM

Tags for this Thread

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