How to Add or Subtract Time in Excel - Calculate Hours and Minutes for Accurate Timekeeping

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

Komentáře • 62

  • @diegopagura421
    @diegopagura421 Před 2 dny +1

    great tip on TIME formula. saved my day.

    • @SharonSmith
      @SharonSmith  Před dnem

      Glad to hear that! Thanks for watching!

  • @wretchedrichard2955
    @wretchedrichard2955 Před 7 měsíci +4

    Thank you SO much, I just spent hours looking through articles and other u tube video's getting confused. Then I stumbled across your channel which made my day. You're a great teacher, as the tutorial was concise, informative, and right on point. It's five out of five Gold Stars of greatness from me.

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

      Oh, thank you so much! That is so nice of you. Thanks for taking time to leave a nice comment. I really appreciate it! Glad you found my Channel and that the videos are helpful to you. Take care!

  • @joseerichard8250
    @joseerichard8250 Před 4 měsíci +2

    I love the way you explained this. So simple! Thank you!

    • @SharonSmith
      @SharonSmith  Před 4 měsíci

      I'm so glad you found it helpful! Thanks for watching!

  • @prashia
    @prashia Před rokem +1

    This chanel is needs more viewers. I learned a lot from her tutorial.

    • @SharonSmith
      @SharonSmith  Před rokem

      Thank you so much! I'm glad you learned a lot from my videos. Yes, I hope I can get more views too!! Thank you!

  • @sojeivjo
    @sojeivjo Před 9 měsíci +1

    Hi Shannon. I thank you for explaining the last part. I always had a problem with that.

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

      Glad to help! Thanks for watching!

  • @prince4x4
    @prince4x4 Před 2 měsíci +2

    Thanks for your share

  • @pencilpainters
    @pencilpainters Před 5 měsíci +1

    i am glad i found this video……..subscribed….awesome explanation. Thank you

    • @SharonSmith
      @SharonSmith  Před 5 měsíci

      I'm so glad you found this video helpful! Thanks for watching and for subscribing to my Channel! I appreciate it. Take care!

  • @kennam5136
    @kennam5136 Před 4 měsíci +1

    Thank you very much, very clean and easy to follow.

    • @SharonSmith
      @SharonSmith  Před 4 měsíci

      Glad you found it helpful! Thanks for watching!

  • @nfortimothy3131
    @nfortimothy3131 Před 8 měsíci +1

    Thanks a lot. your explanations are so explicit

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

      Glad you found it helpful! Thanks for watching!

  • @yasirshabar9447
    @yasirshabar9447 Před 5 měsíci +1

    That was very helpful, thank you so much

    • @SharonSmith
      @SharonSmith  Před 5 měsíci

      Glad to help! Thanks for watching!

  • @user-pw2oq5hb6x
    @user-pw2oq5hb6x Před 11 měsíci +1

    Sharon, finally a good tutorial on how to handel time in excel. I need help on a formula to display time when its past midnight. Here is the issue my server tells me the "minutes since event" when I run an event log in the mornings. I downloaded the event log in excel and added the current time. I subtract the "minutes since event" column and format the cell like this =+$D$1-TIME(0,B10,0) Where $D$1 is the time the log was run and B10 is the minutes since the event. All is good until we pass midnight and Excel has to change fro AM to PM, when this happens, my formula returns the # sign. Can you help me? Some of the minutes on the event log are over a 1000, so that's over 12 hours. Thanks, Mike

  • @EV-dh2ow
    @EV-dh2ow Před 6 měsíci

    ❤ thanks . I’m looking forward for calculation of OT

    • @SharonSmith
      @SharonSmith  Před 6 měsíci

      Awesome! Thanks for watching! Glad it was helpful.

  • @janedoe6704
    @janedoe6704 Před měsícem +1

    Nobody noticing she put the characters from Psych in the timecard?

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

      One of my favorite shows! Thanks for watching!

  • @proffacttv
    @proffacttv Před 5 měsíci +1

    Really Helpful

    • @SharonSmith
      @SharonSmith  Před 5 měsíci

      Glad to help! Thanks for watching!

  • @tome1964
    @tome1964 Před 5 měsíci

    Hi Sharon, thank you for the great explanation. I was wondering< if you have per say; a flight arrival time and a hotel check-in time and you want to calculate if you'll arrive early or late for the check-in, how you do that? (when I tried, negative times showed the dreaded hashtags) :)

  • @user-nc2or9xu2h
    @user-nc2or9xu2h Před měsícem

    would you provide me sheetlink thanks for sharing awsome tuts

  • @Project1643.
    @Project1643. Před 2 měsíci

    Can Excel calculate the duration of time over many days? For example, i start my well pump on June 1 at 10 AM and turn it off on June 7 at 3PM. Is there a formula that gives me the amount of hours and minutes the pump was on?

  • @aviatortrucker6285
    @aviatortrucker6285 Před 4 měsíci

    I would like to know how you would find the time when you subtract a time that is over 24 hours. Another words how many hours is it from 6 PM say on the fourth from the current time of 12 PM on the sixth. What I’m trying to do is find out the amount of time between two timestamps on two different days. So if I want to find out how long I was on a camping trip, I left 6 PM on the sixth and came back at 8 AM on the eighth of the month, how would I calculate this?

  • @ghostkick267
    @ghostkick267 Před 3 měsíci +1

    How about that when I have negative hours from last month that are overtaken to the actuall month? Like I have -07:00:00 (-7 hours). I cant just type it into the cell, so the only way to make it, it is a format as number?

    • @SharonSmith
      @SharonSmith  Před 3 měsíci

      Handling negative time values in Excel can indeed be tricky, especially when dealing with hours that span over different months. Excel does not natively support negative time values when using time formats like hh:mm:ss. However, you can work around this limitation using number formats and custom formulas.
      Here's a step-by-step guide to handle negative time values effectively:
      Method 1: Using Decimal Numbers for Hours
      Convert Time to Decimal Hours:
      Convert your time into decimal hours. For instance, -07:00:00 can be represented as -7.
      Enter Decimal Hours:
      Simply enter -7 in the cell. Ensure that the cell is formatted as a number, not as time.
      Calculate Total Hours:
      You can add or subtract these decimal hours as needed. For example, if you have -7 hours in one month and you want to add 15 hours from another cell, simply use the formula:
      =-7 + 15
      This will give you 8 hours.
      Method 2: Using a Custom Formula to Handle Negative Time
      If you prefer to keep using the hh:mm:ss format, you can create a custom formula to handle negative times. Here's how:
      Enter Time Values:
      Enter your times as usual, but for negative times, you'll need to handle them with a formula. For example, let's say you have 07:00:00 (positive 7 hours) in cell A1 and you want to represent -07:00:00.
      Create Custom Formula for Negative Time:
      Instead of entering -07:00:00, enter the positive value 07:00:00 in a cell (e.g., A2) and use a formula to convert it to a negative time.
      In another cell (e.g., A3), use a formula like:
      =-HOUR(A2) - MINUTE(A2)/60 - SECOND(A2)/3600
      This will convert 07:00:00 in A2 to -7.
      Summing Time Values:
      To add or subtract these time values, convert them all to decimal hours first using the formula above, then sum them up.
      Example Workbook:
      Imagine you have:
      A1 with the value 7:00:00 (positive 7 hours)
      A2 with the value 07:00:00 (to be treated as negative 7 hours)
      In B1, use the formula:
      =-HOUR(A2) - MINUTE(A2)/60 - SECOND(A2)/3600
      This will convert 07:00:00 to -7.
      In C1, you can add these times:
      =HOUR(A1) + MINUTE(A1)/60 + SECOND(A1)/3600 + B1
      This will give you 0 because 7 - 7 = 0.
      Displaying as Time Again
      If you want to convert the result back to a time format:
      =TEXT(C1/24, "[hh]:mm:ss")
      This will convert your decimal hour result back into a time format.
      By using these methods, you can handle negative times and perform calculations across different months without the limitations of Excel's time format.
      I hope this helps! Thanks for watching!

  • @Kvshman
    @Kvshman Před rokem +2

    I understand that Excel Online has less features, but deducting minutes from time yields just number signs (###).

    • @SharonSmith
      @SharonSmith  Před rokem +2

      Here are some troubleshooting tips to try:
      Adjust Cell Width: Number signs (###) typically appear when the content of a cell is too wide to fit within the column width. Suggest that they try widening the column containing the result to see if the actual value becomes visible.
      Check Number Formatting: Ensure that the cell containing the formula or the result is formatted as a time value. Right-click on the cell, select "Format Cells," and choose a time format (e.g., "hh:mm:ss" or "h:mm").
      Use Proper Time Format: Make sure that the time values being used in the formula are entered correctly. Time values in Excel should be in the format of "hh:mm" or "h:mm AM/PM" for 12-hour format.
      Check Formula Syntax: Verify that the formula being used to deduct minutes from time is correct. The formula should subtract the desired number of minutes from the time value. For example, to deduct 15 minutes from a time value in cell A1, the formula should be: =A1 - TIME(0, 15, 0).
      Confirm Cell References: Double-check that the cell references in the formula are accurate. Ensure that the cell reference for the time value and the deduction value are correct.
      Check for Errors: If the above steps don't resolve the issue, ask the person to check if any error messages are displayed in the cell. Common errors include referencing empty cells, using incorrect functions, or having circular references.
      Test in Excel Desktop: If the person is using Excel Online, suggest that they try the same deduction formula in the desktop version of Excel (if available) to determine if it's a limitation of Excel Online or a specific issue with their formula.
      Hope this helps! Thanks for watching my videos!

  • @peter-qw3nk
    @peter-qw3nk Před 5 měsíci

    I am getting different formats for my times. For example some areas are showing 1:03 pm and some are saying 13:03. How can I correct it so everything is uniform?

  • @BrendaSisneros
    @BrendaSisneros Před 4 měsíci

    Love it! Thank you!

    • @SharonSmith
      @SharonSmith  Před 4 měsíci

      Glad to help! Thanks for watching!

  • @daylematthews
    @daylematthews Před rokem

    What a great explanation. Thanks!!

    • @SharonSmith
      @SharonSmith  Před rokem

      Glad you found it helpful! Thanks for watching!

  • @jesseskellington9427
    @jesseskellington9427 Před 4 měsíci +1

    Thx 😊

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

    Is there a formula I can use for In time, Lunch Start, Lunch End, Out, In Time #2, and Out time #2

  • @jbxinc936
    @jbxinc936 Před rokem +1

    Great video as always. What would the formula be to calculate the difference between the end time of one day with the start of the next day?

    • @SharonSmith
      @SharonSmith  Před rokem +1

      Hello! Thanks so much for subscribing to my Channel! If you input the date and time into the cells, and ensure the cell is formatted for Date & Time (or a custom format) then you can simply subtract the end time of day 1 from the start time of day 2 and multiply by 24 to get the result in hours of elapsed time. For example: =(B1-A1)*24 I hope this helps! Thanks for watching!

  • @HoangNguyen-pv6fz
    @HoangNguyen-pv6fz Před 10 měsíci +1

    thanks.

  • @user-bh6bb9je1w
    @user-bh6bb9je1w Před 10 měsíci

    Hi Shannon! I got a problem in subtracting the time, it comes out a negative answer in number (Minutes) especially if the subtrahend is bigger than the minuend.

  • @Nova_Kia
    @Nova_Kia Před 10 měsíci +3

    I’m getting 0 as total hours when I know it’s like 50 😢

  • @jgdaily
    @jgdaily Před rokem +1

    Great,

  • @SahilKumar-id3bb
    @SahilKumar-id3bb Před 2 měsíci

    If total hours are more than 10k then how to calculate time difference for example
    10034:34:00
    Please help

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

    How does it work with 24hr clock eg a shift worker starting at 11pm (23:00) and finishing at 7am (07:00). I've tried the [h] still can't get it to work :(

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

    why i can't find (datedif) equation in my excel, even i changed my excel version ?

  • @jordanneufeld821
    @jordanneufeld821 Před rokem

    Thanks

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

    What about if you have 24 hrs shifts. How do you add the hours from one day to the next?

  • @farestahamohamed835
    @farestahamohamed835 Před 8 měsíci +1

    Nice

  • @fifocrew3040
    @fifocrew3040 Před 4 měsíci +1

    I liked it but it didn't work for me. I tried a few different things. 😢

    • @SharonSmith
      @SharonSmith  Před 4 měsíci

      What are you trying to do? There may be a different formula or scenario that can work for you. Thanks for watching!

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

    how to calculate in 24hours format with result in decimal hours