T
T
tmkbl2021-11-13 00:13:37
excel
tmkbl, 2021-11-13 00:13:37

How to calculate time interval in Excel?

The cell contains time data in this format, for example:


7:00:00-8:30:00;
17:00:00-19:00:00

Or it could just be like this:

18:30:00-19:00:00

These are time periods.

Those. in the first case it should be 1:30:00 + 2:00:00 = 3:30:00 in total, and in the second it should be 0:30:00 .
How to teach excel to count this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
tmkbl, 2021-11-13
@tmkbl

Figured it out myself using vba.

H
hint000, 2021-11-13
@hint000

You don't have to create difficulties for yourself. You do not need to enter 7:00:00-8:30:00 in the cell.
Enter 7:00:00 in one cell and 8:30:00 in the other. Yes, it is possible to divide the glued into parts with a formula, but why, if it is easier not to glue.
618f183a70de8564065806.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question