How to get this time value correct?

vane0326

Well-known Member
Joined
Aug 29, 2004
Messages
819
Why in cell I3 the result is 7.80 It should read 7.66 What I'm doing wrong. How can I modified my formula so my result could be 7.66?

Thanks!
PERSONAL.XLS
BCDEFGHI
1
2Start TimeLunch StartLunch EndBreak StartBreak EndEnd TimeTotal
3John5.308.329.0210.0010.2014.007.80
Sheet1
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Thanks Mark W!

He gave me this formula.
But how did he do it?

{=SUM(SUBSTITUTE(TEXT(C3:H3,"0.00"),".",":")*{-1,1,-1,1,-1,1})*24}
 
Upvote 0
If you dont like arrays you could use this formula.

=SUMPRODUCT(--SUBSTITUTE(TEXT(C3:H3,"0.00"),".",":"),{-1,1,-1,1,-1,1})*24
 
Upvote 0
Am I reading this wrong, shouldn't the answer be 7:40?
If that is time worked (breaks deducted)
Cells formatted [h]:mm
Cell I3 =(H3-C3)-(E3-D3)-(G3-F3)

Is that not what you are asking?
Colin
 
Upvote 0
Instead of entering the times as 5.30 etc try 5:30.

Then Excel will actually treat them as times.
 
Upvote 0

Forum statistics

Threads
1,214,839
Messages
6,121,892
Members
449,058
Latest member
Guy Boot

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