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
 

Some videos you may like

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

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,287
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
 

Watch MrExcel Video

Forum statistics

Threads
1,122,657
Messages
5,597,391
Members
414,142
Latest member
Banyangt

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