Excel calculation wrong ... sometimes, query

tezza

Active Member
Joined
Sep 10, 2006
Messages
384
Office Version
  1. 2016
  2. 2010
Platform
  1. Windows
  2. Web
Hi all

I've got a table of dates and times but when I add a column to take the end time away from the start time, I don't always get the correct result.

I've put the wrong answer as general format to try and understand it better.

On a sheet of 2706 lines, 86 are wrong.

TimesheetExtract.csv
XYZAA
1Date of CallCall Start TimeCall End TimeCall Duration
203/02/20240.4166666670.6250
1520/02/202412:3017:305:00
TimesheetExtract
Cell Formulas
RangeFormula
AA2AA2=[@[Call End Time]]-[@[Call End Time]]


However, if I copy and paste values and do end - start time, I get the right answer.

TimesheetExtract.csv
ABCD
1Date of CallCall Start TimeCall End TimeCall Duration
203/02/20240.4166666670.6250.208333333
320/02/202412:30:0017:30:0005:00:00
Sheet2
Cell Formulas
RangeFormula
D2:D3D2=C2-B2


Any ideas?
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
You’re subtracting end time from end time. Try:
Excel Formula:
=[@[Call End Time]]-[@[Call Start Time]]
 
Upvote 0

Forum statistics

Threads
1,224,833
Messages
6,181,242
Members
453,026
Latest member
cknader

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