Time Formula follow on question
My original Question
I would like a formula to caculate the number of hours between 2 times. With a start time before midnight and an end time after midnight .ie:If cell B2 is start time & cell C2 is an end time next day I want cell D2 to give me total hours in digital format. I am using Numbers 12.Any ideas please
Answered (formula shown below)
My follow on Question
The formula below does what I want it to do,However when creating a spreadsheet for a month cells in column D which do not yet have result to show display a red triangle with an exclamation mark. Is it possible to create the formula for the cell in column D to remain blank until there is an answer to display.
Formula in D2 (and fill down):
DUR2HOURS(IF(C2<B2,C2−B2+"1d",C2−B2))
iMac 27″, macOS 11.6