Need help with a formula that converts times listed using data verification into hours. For example 2pm - 10pm = 8 hrs. The formula I'm currently using works fine until the times run past 12pm. Then it creates an error because it generates a negative number. =IFERROR(IF(D75<C75,(24*D75-C75),IFERROR(D75-C75,"")),"") Where D75 is 11:30pm and C75 is 2:30pm the formula generates the result of 9:00 which is correct. But if D75 is changed to 12:00am it generates and error because the result is a negative number.
Bookmarks