time equation

HappyChappy

Active Member
Joined
Jan 26, 2013
Messages
378
Office Version
  1. 2019
  2. 2010
  3. 2007
Platform
  1. Windows
i have 50:00 in cell c1 3:35 in c2 when i put c1-c2 i get 04:48 i should be getting 46:25 cant seem to figure it out sure there is a simple reason its not returning the correct figure
 
Sorry to have repeat post.

EDIT: I just realized, if you ever have a time of MIDNIGHT, you may get this error. UGH.
So, maybe only check for blank cells:
Excel Formula:
=IF(OR(C3="",D3=""),0,YourFormula)

But those will cause downstream errors in your other formulas.
You can fix those with the N() function.

like this:
Excel Formula:
=N(G3)-N(J3)

or you can use the SUM() function with delimited cell references
Excel Formula:
=SUM(G3,J3)


But in all the columns with calculations that reference column G,I,J,&K. (I think those are the columns)
 
Last edited:
Upvote 0

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,215,220
Messages
6,123,693
Members
449,117
Latest member
Aaagu

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