SUM and ROUNDUP formulae combination

asdfzxcvm

New Member
Joined
Jan 18, 2017
Messages
8
Hello. I would appreciate if someone could help me to combine the SUM function and the round function such that every time I have a sum of 0.6,to round it up to 1. So, for example if I have 1.2 + 1.4, I don't want it to give me 2.6,but 3. Thank you!
1ytls7.jpg
 
So I managed to compute the overtime,but could you help me modify the formula such that it subtracts the hours less than 6?
For example I have the overtime hours = 25
but there were 5 days with 0 work hours = 30
plus 2 more days with less than 6 which together are 1h
that means 31 h need to be worked
after subtracting the the hours from the overtime,I am left with -6 h
I could do this manually,but I want to know if there is a possibility to do it automatically

=IF(D3>E3,(D3-E3),0)

uqz4i.jpg
[
 
Upvote 0

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
I am not sure I understand. It appears that you posted a formula.
You could also use the MAX formula to replace the one you posted like I did in my previous post, to make sure it does not go negative, i.e.
Code:
=MAX(D3-E3,0)
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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