cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tif
Helper II
Helper II

Calculating time total from two entries via Forms and placing into Excel spreadsheet

Good afternoon, everyone, 

 

I'm working on a Flow which obtains information from a Form.  The issue I'm having is not understanding how to calculate time, or what expression I should use.  I have searched here, but most answers relate to SharePoint, and I am working with Form submissions.  A staff member will enter into the Form a Start Time and an End Time for an appointment.  I need to use the Start Time and End Time to calculate the total time of the appointment with the total result reported out in hours and minutes.  Appointments will occur and conclude in a single day (no appointments will be longer than 14 hours).  

 

Any assistance and guidance in achieving this is greatly appreciated,

Thank you!

Tif

2 REPLIES 2
chsanche
Community Support
Community Support

Hi @Tif 

 

On this URL you can find a forum where it is indicated how to get the difference between 2 times using the DateDiff formula: https://powerusers.microsoft.com/t5/Building-Power-Apps/Calculating-the-difference-between-two-times...

The formula is indicated for PowerApps but you can also use that one in Flow, you can even create a variable and store the result.

 

Best Regards

--

https://powerusers.microsoft.com/t5/Building-Power-Apps/Calculating-the-difference-between-two-times...

If this post helps you give a :thumbs_up: and if it solved your issue consider Accept it as the solution

@chsanche Thank you for the assistance and the information; greatly appreciated!  I apologize for taking so long to respond.  I have been pulled off this project temporarily to work on another item.  When I return to this project in the next few weeks, I will try your suggestion and respond here.  Again, my sincere apologies for taking so long to respond.  Thank you so very much for your help!

 

Have a wonderful day!

Tif

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (1,160)