How to Calculate Hours Worked with Excel Power Query (& Properly Sum time)

Sdílet
Vložit
  • čas přidán 29. 08. 2024

Komentáře • 217

  • @LeilaGharani
    @LeilaGharani  Před 7 měsíci

    Grab the file I used in the video from here 👉 pages.xelplus.com/calculate-time-file

  • @mariostudio7
    @mariostudio7 Před 4 lety +8

    Wow so it remembers that we've merged the two columns we deleted for Work Day and repeats the process in the background! This is amazing 😍

  • @AgesOfAgony
    @AgesOfAgony Před měsícem

    Mam, you're a blessing to the Excel community! 👌✨

  • @kevinbolt999
    @kevinbolt999 Před 10 měsíci

    Excellent. I’m going to investigate using this with time in of a query to time out of a query, taking into account working hours, weekends, and holidays

  • @wayneedmondson1065
    @wayneedmondson1065 Před 4 lety +1

    Hi Leila, thanks for the excellent demo and lesson on manipulating time with Power Query. Your thorough and complete explanations are always appreciated. Thumbs up!

  • @everclearacg
    @everclearacg Před 4 lety +1

    Hey thanks for this tutorial. Using this video as a guide let me figure production per hour per day for each person on my team. Total game changer, I’m excited to apply this to other reports.

  • @davidbecker4669
    @davidbecker4669 Před 3 lety +1

    OMG you are the Queen ! Thanks !

  • @MrJrhzues
    @MrJrhzues Před rokem

    youre still the best!!! no one can beat you girl!!!

  • @phpvbacoder9000
    @phpvbacoder9000 Před 4 lety

    Very useful Video. Im just learning Power Query and creating good looking Dashboards in Excel. Your videos have really taken me further here.

  • @vijayarjunwadkar
    @vijayarjunwadkar Před 4 lety +1

    Alas! If only I would have known this on "Time", when I needed it two years before! I struggled a lot that time with formulas, formatting and macros to somehow solve it! So once again Leila, thanks for showing a simple yet amazing way of handling time data! You are Super! :-)

    • @LeilaGharani
      @LeilaGharani  Před 4 lety +1

      I've been there too :) Hope it will come in handy in the future.

  • @nonoobott8602
    @nonoobott8602 Před 4 lety

    Wow.....this is so amazing. I don't have to worry about formulas to calculate datetimes. PQ is a game changer. Thanks for sharing Leila

  • @LearnExcelVBA
    @LearnExcelVBA Před 4 lety

    Thanks Leila for sharing this. This is surely going to help lot of employers and freelancers who regularly track time in excel.

  • @felipelandim2881
    @felipelandim2881 Před 4 lety

    Find it very useful. Nice to have a spreadsheet to practice. Took me about 20min to do everything as in the video (translating the buttons to portuguese in my head hehe).
    Thank you!

  • @irkMukut
    @irkMukut Před 4 lety

    How can someone speak so beautifully!!!!!

  • @cambike
    @cambike Před 4 lety

    Been working on this for so long, this is soo much easier than all the other methods. THANK YOU x

  • @gabriellaprievara7379
    @gabriellaprievara7379 Před 4 lety +1

    Thank you Leila, excellent as always. I do not know how, but your videos come always at the best time! :)

  • @shashwatmishra3023
    @shashwatmishra3023 Před 4 lety +1

    Hi , this one is really good.... I admire your teaching skill's a lot . Keep doing the Good work..

  • @ibrahim82649
    @ibrahim82649 Před rokem

    Hello Leila you are a life saver 😘😘😘.

  • @azeezahmed7070
    @azeezahmed7070 Před 4 lety

    Essential topic ,very nicely explained and simplified. Thanks a lot for sharing.

  • @Deependra1991
    @Deependra1991 Před 4 lety +1

    Previously i was subtracting end to start time and then converting to minutes n second using text fn and pasting special to values or multiplying hours to 1440 to get numbers in minutes. Well its way to easy in power query as compared to earlier way of calculations.

  • @ericaleverson9430
    @ericaleverson9430 Před 2 lety

    Thank you so much! I did not know it was this easy! I've been trying to do DAX formulas that were not working right.

  • @bellomdragon1838
    @bellomdragon1838 Před 4 lety

    hello,
    je suis heureux de vous comprendre et de vous écouté helas y a plus de traduction automatique sur certaine video...
    MERCI A VOUS POUR VOS SUPER TUTO

  • @wannabedal-adx458
    @wannabedal-adx458 Před 4 lety

    I wish i had known about this 8-9 years ago!!! Excellent video, Leila!!

  • @waltermlk
    @waltermlk Před 2 lety

    Goodness...You really are good at this...Thanks

  • @RicardoSadaJapp
    @RicardoSadaJapp Před rokem

    Great tip! Thanks

  • @rachidmoutawakk1834
    @rachidmoutawakk1834 Před 4 lety

    Thanks Leila for the work. wish you all the best

  • @vida1719
    @vida1719 Před 4 lety

    It's a great idea to use Power Query in time calculations. You can also get an age by simply using User Interface

  • @fraziqbal6938
    @fraziqbal6938 Před 10 měsíci

    wonderful. thank you very much!

  • @SUPERmuzhroom
    @SUPERmuzhroom Před rokem

    thanks for the video, very helpful, i was wondering how to do the basic time, undertime and overtime in this video

  • @syamkumar-tc3xo
    @syamkumar-tc3xo Před 4 lety

    Superb information about date and time data

  • @OrcunBahadir
    @OrcunBahadir Před 3 lety

    Thank you very much Leila for this wonderful tutorial. I have been trying to find a way to properly calculate the duration in Power BI and this helped me a lot...

  • @karl2776
    @karl2776 Před 9 měsíci

    This was so, so helpful

  • @alwarhi
    @alwarhi Před 4 lety

    Many thanks 🥰

  • @aakashshah4494
    @aakashshah4494 Před 3 lety

    Always useful tutorials. Thank you.

  • @praavi5444
    @praavi5444 Před rokem

    THANK YOU SO MUCH FOR THIS TUTORIAL!!!!!!!!!!!!!! YOU SAVED ME

  • @mattschoular8844
    @mattschoular8844 Před 4 lety

    Thanks Leila.... I can see these techniques being very helpful in many business situations. Great explanation.

  • @StaticBlaster
    @StaticBlaster Před 3 lety

    Love your thumbnail. The Back to the future movies are flippin awesome. By the way thanks for these videos. Very invaluable source of information regarding spreadsheets.

  • @hazemali382
    @hazemali382 Před 4 lety

    very great video ♥ many thanks

  • @fcoatis
    @fcoatis Před 4 lety

    Thank you. Very nice explanation.

  • @wlouiz
    @wlouiz Před 4 lety

    Thanks Lelia. Very helpful as always

  • @ElectronicBarta
    @ElectronicBarta Před 7 měsíci

    awesome video. thanks for sharing.

  • @darrylmorgan
    @darrylmorgan Před 4 lety

    Hi Leila!I Have Set This Same Scenario Up For Project Managers In Work Using Power Query...Thank You For A Really Enjoyable Tutorial :)

  • @alm6885
    @alm6885 Před 11 měsíci

    Yes! Excellent lesson.

  • @shadrackawunyo7786
    @shadrackawunyo7786 Před 4 lety

    Very nice presentation Leila. I love this

  • @oladapoomolaja4104
    @oladapoomolaja4104 Před 4 lety

    Thanks Leila, this is very insightful

  • @rahulbhujbal3663
    @rahulbhujbal3663 Před 3 lety

    Beauty with Brain, rare combination

  • @ramkyadi
    @ramkyadi Před 4 lety

    Wow so simple

  • @MultiSciGeek
    @MultiSciGeek Před rokem

    Great thanks! Saving me for the second time today XD

  • @Зле_Коте
    @Зле_Коте Před 3 lety

    Thank you! It`s awesome tutorial

  • @hilaryjansz4687
    @hilaryjansz4687 Před 8 měsíci

    Great work

  • @Luciano_mp
    @Luciano_mp Před 4 lety

    I like the power query, good, Thank you Leila!

  • @gintomino4136
    @gintomino4136 Před 4 lety

    I love powerquery!

  • @abdallah.kandiel
    @abdallah.kandiel Před 4 lety

    This is a useful one
    Happy Thursday your highness 🙏

    • @LeilaGharani
      @LeilaGharani  Před 4 lety

      Glad to hear it! Happy Thursday to you too :)

  • @knutboehnert3163
    @knutboehnert3163 Před 4 lety

    Nice use and despite the lazy workers (rounding up to impress their manager) will make me use PowerQuery a lot more. It is just hard as a Non-American to read these weird time formats. As a database engineer I just wish more people use (and present) ISO 8601 standards (which coincidentally makes imports from Excel into a database just so much smoother)

  • @taizoondean689
    @taizoondean689 Před 4 lety

    Thanks 🙏🙏

  • @IvanCortinas_ES
    @IvanCortinas_ES Před 4 lety

    Excellent work and explanation Leila! I would appreciate more Power Query videos because they help a lot with data processing. Thank you very much!!

  • @giteshp16
    @giteshp16 Před 4 lety +4

    How to calculate time taken for an instance. Where Working days are Monday to Friday and working time are 10 Am to 7 PM. For e.g First instance start time: 20 Aug 12 PM - End time: 25 Aug 11 Am. Manually if we calculate then the answer will come as 26 hrs.

    • @TheKaleficarum
      @TheKaleficarum Před 4 lety

      good question i'm looking for a solution to an equal problem

    • @dgjanes917
      @dgjanes917 Před 4 lety

      Add two colums with time removed for start and end date. Calculate number of days between the two dates minus 2(the first and last day). Multiply that calculation by 9(working hours). Add two columns for the start and end time for the first and last days. Calculate the duration for those two days and add it to the previous calc where you multiplied the whole days by 9 hours.... might be an easier way but off the top of my head this should work.

  • @krn14242
    @krn14242 Před 4 lety

    Happy Thursday Leila. Thanks...

  • @aimendondo
    @aimendondo Před 4 lety

    Great session! Thank you very much.

  • @mohamadhadid2403
    @mohamadhadid2403 Před rokem

    you are the best

  • @gmccormack1234
    @gmccormack1234 Před 3 lety

    Great collection! Thank you for the videos.

  • @serawitbogale3144
    @serawitbogale3144 Před 4 lety

    Thanks , I was searching for this all over for a long time. Thank you. Please also we need the transformation of time to power BI

  • @Timmy_1011
    @Timmy_1011 Před 4 lety +1

    You're the best ever

  • @jaimecalderon1432
    @jaimecalderon1432 Před 4 lety

    Thank you Leila

  • @HusseinKorish
    @HusseinKorish Před 4 lety

    Perfect ... Thanks Leila

  • @moazzamca1
    @moazzamca1 Před 4 lety +3

    Hi Leila, that's an awesome solution from you as usual, great job!
    I have learned a lot from your videos, wondering if you can demonstrate how we can prepare a FIFO based stock aging calculation model using Power Query. I can provide a sample I have developed using formulas and am sure it can be simplified through Power Query.
    Thanks

  • @wofdigy
    @wofdigy Před 4 lety

    Another wonderful video Leila.. thank you..

  • @user-xv5mz9if8s
    @user-xv5mz9if8s Před 7 měsíci

    Miss Leila, please provide guidance on which project will take how many hours per week.

  • @chrism9037
    @chrism9037 Před 4 lety

    Great job Leila!

  • @ubaidyaseencubaidyaseenc8207

    Amazing ❤

  • @blindshark4560
    @blindshark4560 Před 4 lety

    Thanks for this Leila

  • @aman9028206170
    @aman9028206170 Před 4 lety

    Informative, Thanks Leila 🙂

  • @cshahed
    @cshahed Před 4 lety

    Wow. Thanks

  • @bryanc8275
    @bryanc8275 Před rokem

    Great video. Could apply this to tracking case work if you could find the duration between 2 dates/time but exclude weekends and non working hours

  • @eslamfahmy87
    @eslamfahmy87 Před rokem

    Thanks alot, but I facing an issue with some of rows calculation in my file like the below Exp
    ( start time 11: 58 Pm) and (end time 12: 04 Am) and after I followed ur instructions it's calculated 1457 minutes instead 4 minutes.
    Appreciate your support 🙏

  • @shoaibrehman9988
    @shoaibrehman9988 Před 4 lety

    Really useful stuff no more formulas

  • @musicaenlife
    @musicaenlife Před 4 lety

    Hey Leila you are awesome. Thanks for sharing great stuff..

  • @hosseinhosseinpoor4845

    thanks.

  • @foysalahmed5587
    @foysalahmed5587 Před 4 lety

    It's Awesome Tricks, Thanks for sharing.

  • @Ashley-ry4we
    @Ashley-ry4we Před 2 lety

    HI Leila I Think This Video Is a little advanced for Me is there another video that kind of slows things down a little, I'm not familiar with all these functions but this is exactly what I need to learn. I just need a beginners course on this. Do you have one?

  • @Theportraitdude
    @Theportraitdude Před 4 lety

    Extremely helpful video as always! Thank you so much for what you do and your style of teaching. I have learned so much and referred many of my friends and coworkers to your video over the years :)

  • @sherwinrickyjonas214
    @sherwinrickyjonas214 Před 10 měsíci

    Hi Leila, I need to calculate the time in minutes between two time values considering the Company working time between 7am to 2.30 pm and break time between 12 noon to 12.30 pm

  • @Primemantis108
    @Primemantis108 Před 4 lety

    Thanks!

  • @Gaajinikanth
    @Gaajinikanth Před 4 lety

    Super trick

  • @IamHiteshRathod
    @IamHiteshRathod Před 4 lety

    This is great 👌 Thanks 😊

  • @sachinrv1
    @sachinrv1 Před 4 lety

    I straight away hit LIKE. Lovely video and Lovely Leila :)

  • @Jhun_L_Roxas
    @Jhun_L_Roxas Před 2 lety

    Thank you!! This is very powerful especially for project based work or for manufacturing. Question on this however... how do I factor in lunch, dinner and midnight break times of let us say 1 hour each?

  • @SoZ4i
    @SoZ4i Před rokem

    Hi Leila, thanks for the tutorial,
    Is it possible for you to show an example of how to calculate % on on time/ late performance logistics based on quantity in Power Query example ? Thanks

  • @srikanth7368
    @srikanth7368 Před 4 lety

    Mam, Thank you so much for the video.

  • @mohamedabdellatif1486
    @mohamedabdellatif1486 Před 4 lety

    Very Wonderful 🤩

  • @alexrobatz1513
    @alexrobatz1513 Před 4 lety

    Oh Today is on Thursday.... 😜😜
    I love your work Mom

  • @wasimakram522
    @wasimakram522 Před rokem

    Hi Leila ,Thanks for Sharing but the logic will work when you have combined format of ( Date &Time) 01/06/23 08:00 PM - 02/06/23 01:00 AM = 05 hrs 🎉
    and what if available in below based Biometric devices out Put
    Start Date 01-06-2023
    Start Time :20:00
    End Time : 01:00
    Result=???

  • @praveenk1672
    @praveenk1672 Před 4 lety +1

    Hello Mam, thanks for the tutorial. It will be helpful if similar logic can be arrived using formula. Because power query needs a refresh every time. Or is there a way to refresh the query automatically based on a scheduled time?
    We use excel for SLA calculation of tickets. In such cases, power query needs a refresh after each update. So, could you please make a tutorial based on formula in future.

  • @GrugeSilva
    @GrugeSilva Před 4 lety

    Excelente vídeo. Parabéns!

  • @Sunriseto
    @Sunriseto Před rokem

    Hello, great video. How do I add another column to calculate the hours work compared to previous day for different employees. Apparently, the first day work hours variance from previous day for the employee will be zero. I can’t simply use the next row work hours subtract the previous one as there will be different employee after certain row.
    Let me know if you can help! Thank you

  • @bilalmalik728
    @bilalmalik728 Před 2 lety

    amazing

  • @juanpaolo21yt
    @juanpaolo21yt Před rokem

    And you thought Leila is in CZcams only? You are so wrong!! she is in LinkedIn Learning too!! omg!!! I love her so much!!! She's everywhere!! "cause you're everywhere to me...when I close my eyes it's you I see..."

  • @sibidi894
    @sibidi894 Před 4 lety

    Excellent video as always Leila! A quick question: in the last table showing total hours worked by each person, I would like to show it in "days : hours : minutes : seconds". How would I do that? Thank you very much for all your videos.

  • @mcd22630
    @mcd22630 Před 4 lety

    It's about time somebody explained this. Now excuse me while I calculate how long I've been waiting.

    • @LeilaGharani
      @LeilaGharani  Před 4 lety +2

      No, you can't do that. It's about hours WORKED 😁

  • @FRANKWHITE1996
    @FRANKWHITE1996 Před 4 lety

    Perfect!