Robert Wyatt
Board Regular
- Joined
- Jul 15, 2012
- Messages
- 102
- Office Version
- 2019
- Platform
- Windows
I have a formula to calculate my time but how would I combined it with Mround to have it round the time to nearest 1/4? I have an XL2BB to show y'all want I'm doing. Need to have the worked hours and the MROUND Total to be combined is there a way to do that?
Book1.xlsm | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | I | |||
2 | Hours Scheduled To Work | Weekday | Shift Starts | Lunch Starts | Lunch Ends | Shift Ends | Worked Hours | MROUND TOTAL | ||
3 | 9:55 AM | 4:55 PM | 7.00 | 7.00 | ||||||
4 | 2:55 PM | 5:09 PM | 6:08 PM | 10:21 PM | 6.45 | 6.50 | ||||
5 | 6:00 PM | 10:20 PM | 4.33 | 4.25 | ||||||
6 | 8:00 AM | 1:02 PM | 5.03 | 5.00 | ||||||
7 | 0.00 | 0.00 | ||||||||
8 | 0.00 | 0.00 | ||||||||
9 | 0.00 | 0.00 | ||||||||
10 | Total Hrs: | 22.82 | 22.75 | |||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
H3:H9 | H3 | =(MOD(G3-D3,1)-MOD(F3-E3,1))*24 |
I3:I9 | I3 | =MROUND(H3,1/4) |
H10:I10 | H10 | =SUM(H3:H9) |