cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tulio_DL
Helper I
Helper I

How to calculate time in "hh:mm" between two columns (Example inside)

Hello everyone!

 

First of all I'd like to thank everyone participating into this community and helping each other out. I oftenly come by and find solutions in no time.

 

I've an issue calculating time length in "hh:mm" format between two columns where Column A shows the date/time of the event start and Column B shows the date/time of finish. Let me put in another words... Thinking about a helpdesk event where the client opened a ticket on a monday at 08:00 am and the technician solved his problem at 11:30 am the same day, so the total time length between "Start" to "Finish" is 03:30 in "hh:mm".

 

In addition, I need to consider just the working hours of the company in the formula, so... working hours are from 08h00 to 12h00 and from 13h00 to 17h00 (24 hour clock) and from Monday to Friday.

 

Keeping this in mind I bring the following table where the column E is the expected result.

 

Capturar.JPG

 

Thank you!

 

Diego

1 ACCEPTED SOLUTION
Tulio_DL
Helper I
Helper I

So I've managed to pull it off!

 

If you find yourself on the same situation just send me a PM that I can explain what I did

View solution in original post

1 REPLY 1
Tulio_DL
Helper I
Helper I

So I've managed to pull it off!

 

If you find yourself on the same situation just send me a PM that I can explain what I did

Helpful resources

Announcements
Join Arun Ulag at MPPC23

Join Arun Ulag at MPPC23

Get a sneak peek into this year's Power Platform Conference Keynote.

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors