+ Reply to Thread
Results 1 to 18 of 18

Sick time accrual with previous year carry over.

  1. #1
    Registered User
    Join Date
    01-26-2023
    Location
    New York
    MS-Off Ver
    Pro Plus 2021
    Posts
    19

    Sick time accrual with previous year carry over.

    I have the attached workbook and it will accrue our time correctly. We earn .02hrs per hour worked in a work week. with a max allotment of 40hrs per calendar year. We can carry over what is not used to the following year but you still can not exceed 40hrs. Is there a way to account for the carry over from the previous year. i created a master sheet if any changes could only be made on that i will apply to all other sheets in the workbook. Any assistance would be greatly appreciated. Sick time calculator.xlsx

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Sick time accrual with previous year carry over.

    Perhaps this will help:
    1. Populate column D using: =SUM(D4,C5)
    2. Populate column F using: =SUM(F4,E5,IF(ROW()=5,F3,0))-SUM(G4)
    3. Populate column H using: =IF(F5-G5>40,40,F5-G5)
    For future reference please provide at least some manually calculated examples of your expected results.
    I also suggest that you do not include protected sheets in your sample workbook.
    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.

  3. #3
    Registered User
    Join Date
    01-26-2023
    Location
    New York
    MS-Off Ver
    Pro Plus 2021
    Posts
    19

    Re: Sick time accrual with previous year carry over.

    Thank you for the help on this. Sorry i thought i had unprotected the workbook before uploading. IN the future i will post expected results this was my first time posting things to learn. Thanks again.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Sick time accrual with previous year carry over.

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

  5. #5
    Registered User
    Join Date
    01-26-2023
    Location
    New York
    MS-Off Ver
    Pro Plus 2021
    Posts
    19

    Re: Sick time accrual with previous year carry over.

    IN Cell H38 it goes over 40hrs earned how do i have it not go over 40 and the additional cells below equal out to zero. I know i need a IF statement but how does that work with a Sum Statement as well.Sick time calculator.xlsx

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Sick time accrual with previous year carry over.

    Try pasting the following into cell H5 and then double click the left mouse button to copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Last edited by JeteMc; 01-31-2023 at 07:53 PM. Reason: Updated formula

  7. #7
    Registered User
    Join Date
    01-26-2023
    Location
    New York
    MS-Off Ver
    Pro Plus 2021
    Posts
    19

    Re: Sick time accrual with previous year carry over.

    Final question I had the wrong sheet attached after your previous help. is there a way to make H39 to H56 show zero as they can not accrue anything over 40hrs. Sick time calculator.xlsx

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Sick time accrual with previous year carry over.

    Try the following:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.

  9. #9
    Registered User
    Join Date
    01-26-2023
    Location
    New York
    MS-Off Ver
    Pro Plus 2021
    Posts
    19

    Re: Sick time accrual with previous year carry over.

    That did not make H39 to H56 become zero. please see attached.Sick time calculator.xlsx

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Sick time accrual with previous year carry over.

    Try the following:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.

  11. #11
    Registered User
    Join Date
    01-26-2023
    Location
    New York
    MS-Off Ver
    Pro Plus 2021
    Posts
    19

    Re: Sick time accrual with previous year carry over.

    One finial question. J5 only shows the carry over if there is a input put into E5. Is there a way to have H3 populate to J5 without any input into E5.Sick time calculator.xlsx

  12. #12
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Sick time accrual with previous year carry over.

    Try the following:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.

  13. #13
    Registered User
    Join Date
    01-26-2023
    Location
    New York
    MS-Off Ver
    Pro Plus 2021
    Posts
    19

    Re: Sick time accrual with previous year carry over.

    My conditional formatting is not working. Column J is supposed to Light fill red with Dark red text if the value of that cell equals zero. thanks for advice.Sick time calculator.xlsx

  14. #14
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Sick time accrual with previous year carry over.

    Try Changing the formula in column J to read:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.

  15. #15
    Registered User
    Join Date
    01-26-2023
    Location
    New York
    MS-Off Ver
    Pro Plus 2021
    Posts
    19

    Re: Sick time accrual with previous year carry over.

    I tried that at it started messing with the hours that have been accrued it added more to it then what it should have if i follow it down the column.

  16. #16
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Sick time accrual with previous year carry over.

    Please provide an example illustrating the issue.

  17. #17
    Registered User
    Join Date
    01-26-2023
    Location
    New York
    MS-Off Ver
    Pro Plus 2021
    Posts
    19

    Re: Sick time accrual with previous year carry over.

    Sorry for the delay. attached is the sheet. and it added sick time used to column fSick time calculator.xlsx

  18. #18
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,535

    Re: Sick time accrual with previous year carry over.

    We are still not seeing expected results; however, I will guess that the following two changes do what you want:
    1. For column F: =SUM(C5:E5)
    2. For column J: =ROUND(SUM(IF(ROW()=5,H3,0),IF(SUM(J4)=40,0,MIN(40,SUM(H5,J4)-I5))),2)
    Let us know if you have any questions.

+ 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] sick time accrual
    By caitline23 in forum Excel General
    Replies: 19
    Last Post: 01-27-2023, 05:06 PM
  2. Vacation & Sick Time Accrual Help
    By Christiandeej in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-13-2021, 01:36 PM
  3. Assistance with calculating sick time accrual
    By georgettem in forum Excel General
    Replies: 2
    Last Post: 12-22-2015, 04:18 PM
  4. [SOLVED] Timesheet vacation & sick time accrual
    By Dowjd in forum Excel General
    Replies: 2
    Last Post: 06-28-2015, 10:41 PM
  5. Formula for Calculating (Accrual) Vacation Time/ sick time
    By bsayers in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-02-2014, 02:00 AM
  6. vacation accrual formula based on previous year avg hours worked
    By lfox in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-05-2009, 03:41 PM
  7. template to track sick and vacation time for a year
    By wjageler in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 03-21-2006, 02:45 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