Sick time accured and used

Jamie alexander

New Member
Joined
Dec 13, 2021
Messages
8
Office Version
  1. 2019
Platform
  1. Windows
I would like to create a spread for sick accrue and used. The employees accrue 8 hours each month. I have attached what I have but missing a step.
 

Attachments

  • Sick.PNG
    Sick.PNG
    8.8 KB · Views: 5
sick time.xlsx
ABCDEFG
1MonthAccruredUsedBalanceAward Time?Sick time per month8
2January00put yes in E for when time is awarded
3February00
4March00
5April00
6May00
7June00
8July00
9August00
10September00
11October00
12November00
13December00
14Total000
Sheet1
Cell Formulas
RangeFormula
B2:B13B2=IF([@[Award Time?]]="Yes",G$1,0)
D2D2=B2-C2
D3:D13D3=B3-C3+D2
B14B14=SUBTOTAL(109,[Accrured])
C14C14=SUBTOTAL(109,[Used])
D14D14=SUBTOTAL(109,[Balance])
Cells with Data Validation
CellAllowCriteria
E2:E13ListYes
When I use the =IF([@[Award Time?]]="Yes",G$1,0) I get an error that said name is incorrect
 

Attachments

  • Excel pic.PNG
    Excel pic.PNG
    33.9 KB · Views: 3
Upvote 0

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
That's not the correct syntax for named ranges. It would be simply AwardTime if you have created that named range. Essentially, you want to say:
=IF(E2="Yes",G$1,0) and copy that formula down the column.
 
Upvote 0
That's not the correct syntax for named ranges. It would be simply AwardTime if you have created that named range. Essentially, you want to say:
=IF(E2="Yes",G$1,0) and copy that formula down the column.
Thanks Got this part. now have trouble with subtotal.
 

Attachments

  • Subtotal.PNG
    Subtotal.PNG
    43.6 KB · Views: 2
Upvote 0
assuming you have named your range "accrured" then simply remove the [ ] from your formula.
Alternatively, you could use =subtotal(109,B2:B13)
 
Upvote 0
Solution
That looks much more functional. The only thing is the total on D14 won't make sense since that column is a running total.
Also, the way you have it set up, the Award Time column requires the word "yes" to make it accrue 8hrs that month.
getting rid of the totals is simple, i added the award time column in case of a LOA or some other reason that a person might not be awarded the 8 hours for that month
So My calendar year is July to June and each month they get 8 of sick time. So the award time column I would put 8?
put yes in the award column if they get the hours
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,390
Members
448,957
Latest member
Hat4Life

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top