#### ssaurer

##### New Member
Our company has 15 sick days a year of these days 3 can be used as personal. The following formula I have used to figure sick/personal days left for the year starting in February 2013.

B75=+Jan.2013!B75 totals sick days remianing for year-(AJ75 total sick days used for the month)-(AJ76 total personal days used for the month)/8.

This formula is working only until all 3 personal days are used then it starts subtracting by 8. For instance if I have 11 sick days left and 0 personal and I take 8 hours of sick leave again, the formulas will subtract 11-8=3 however I am looking for 11-8=10 (Note: 8 hours equal one day).

Thank you

### Excel Facts

Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Our company has 15 sick days a year of these days 3 can be used as personal. The following formula I have used to figure sick/personal days left for the year starting in February 2013.

B75=+Jan.2013!B75 totals sick days remianing for year-(AJ75 total sick days used for the month)-(AJ76 total personal days used for the month)/8.

This formula is working only until all 3 personal days are used then it starts subtracting by 8. For instance if I have 11 sick days left and 0 personal and I take 8 hours of sick leave again, the formulas will subtract 11-8=3 however I am looking for 11-8=10 (Note: 8 hours equal one day).

Thank you

Why are you substracting hours not days?

Do you mean
B75=+Jan.2013!B75 totals sick days remianing for year-(AJ75 total sick days used for the month)/8-(AJ76 total personal days used for the month)/8.

If your usage is in hours it all needs be converted to days, but it is a puzzle to me why it only caused an error if personal days left were zero

yes the /8 works. Thank you for your help.

Replies
0
Views
268
Replies
0
Views
292
Replies
4
Views
624
Replies
1
Views
498
Replies
0
Views
1K

1,221,215
Messages
6,158,580
Members
451,501
Latest member
andysacko

### 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.

### Which adblocker are you using?

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

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