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

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Robert Mika

MrExcel MVP
Joined
Jun 29, 2009
Messages
7,256
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?
 

konew1

Well-known Member
Joined
Oct 17, 2007
Messages
2,288
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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,958
Messages
5,856,518
Members
431,819
Latest member
hellosunshine

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
Top