timeroll speadsheet

ssaurer

New Member
Joined
Oct 24, 2012
Messages
7
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

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
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?
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,213,556
Messages
6,114,284
Members
448,562
Latest member
Flashbond

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