This works becauseExcel times are fractional values of days.

The formula in D5, copied down, is:

This works becauseExcel dates are just serial numbers.

These values are only for reference, and are not used in any subsequent calculations.

Excel formula: Add decimal hours to time

The IFS function is new in Excel 2019.

Use the IFS function to evaluate multiple conditions without multiple nested IF statements.

More than one condition can be tested by nesting IF functions.

Excel formula: Add decimal minutes to time

Excel formula: Convert decimal minutes to Excel time

Excel formula: Convert decimal hours to Excel time

Excel formula: Calculate hours between two times

Excel formula: Get days, hours, and minutes between dates

Excel formula: Time duration with days

Excel IFS function

Excel IF function