Google Sheets – Calculate Difference Between Two Time Fields

dateformulasgoogle sheetsgoogle-sheets-dates

I'm having trouble getting negative hour as a result. For instance:

G           H
08:30       06:00

I would like to get a column with the difference between H and G. So I would be filled with -02:30.

When I do a simple calculation, like G2-H2, I get 22:00 as a result.

Any ideas on how to fix this?

I saw this post How to handle Negative Time Delta in Google Spreadsheets, but none of them have the solution I'm looking for.

Best Answer

You mention

I would like to get a column with the difference between H and G. So I would be filled with -02:30.

The formula =H2-G2 will work fine in Google Sheets once you format as Duration by going to
Format - Number - Duration

enter image description here