View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Luke M Luke M is offline
external usenet poster
 
Posts: 2,722
Default Stop time - start time calculation

You didn't give a value for what to do if false. Thus, when you get a false
condition, its trying to add numbers to the word FALSE and messing up.

You could try
=D4-C4+IF(C4D4,1,0)
--
Best Regards,

Luke M


"squack21" wrote:

This formula gives me a error message every time I enter something in the
worksheet: =D4-C4+IF(C4D4,1). It says Excel ran out of recourses and the
formula could not be evaluated. Originally I was lookin for a formula that
would calculate minutes of production time per shift. AM to PM and PM to AM.
I am formatting my start and stop time as h:mm AM/PM and my result of the
above formula as [m].