Excel Magic Trick 299: Date & Time Number - Total Days & Hours Formula

Поделиться
HTML-код
  • Опубликовано: 26 янв 2025

Комментарии • 42

  • @excelisfun
    @excelisfun  15 лет назад

    I'll keep making them!
    Excel fun is addictive and helpful at work too!

  • @atta101md
    @atta101md 3 года назад +1

    Thanks!

    • @excelisfun
      @excelisfun  3 года назад

      Thank you for your donation! It helps me to keep making Excel videos : )

  • @zt.5677
    @zt.5677 2 года назад

    13 years old. I can hardly believe it. This quicky still shines like the sun on a hot summer Sunday afternoon. A very important topic, actually. Thanks for these focused tricks.

    • @excelisfun
      @excelisfun  2 года назад

      You are welcome for the hot summer focused tricks, ZT!!!

  • @willemdxb
    @willemdxb 15 лет назад +2

    Hi there. I am a total excel addict and I am always looking for something new to learn. Great vids and keep up the good work.

  • @excelisfun
    @excelisfun  15 лет назад

    You are welcome!

  • @datagrab
    @datagrab 5 лет назад +1

    *Thank you sir. Don't stop teaching. God bless always.*

  • @excelisfun
    @excelisfun  15 лет назад

    Dear loverpeace33,
    I am glad that they videos are helpful!
    I'll keep making them!
    --excelisfun

  • @excelisfun
    @excelisfun  16 лет назад

    Dear chirag1883,
    I am glad you like them!
    --excelisfun

  • @flosiefernando9615
    @flosiefernando9615 7 лет назад

    ive been trying to make a excel spreadsheet to calculate my workers salary. how could i do this prob. work time is from 8:30-5:30 but when u come at 8:46-9am it is 30mins late. 9:01-9:30 it is an hour late and 9:30 onwards considered half day. we are calculating the payroll now how could i extract the late hour just linking the rules in the formula? thanks badly need help

  • @excelisfun
    @excelisfun  14 лет назад

    This might work for a Time Number formatting:
    [h]:mm

  • @MrPrios1
    @MrPrios1 13 лет назад

    Thanks again, very useful video and it solved yet another how to question regarding date/time calculations between dates and times. Do you have your videos on CD or USB we can order? It would save me some time downloading you tube videos.

  • @cathygoltsoff9615
    @cathygoltsoff9615 6 лет назад

    It really is magic. I love it!! It works!!

  • @milestanisic9101
    @milestanisic9101 2 года назад

    how to calculate it when on date and time was already used concatnate funkcion

  • @himmattalsania3532
    @himmattalsania3532 2 дня назад

    I GOT WHICH I NEED.
    THANKS

  • @malcbatotony9518
    @malcbatotony9518 2 года назад

    Wow! Thank you so much for this.

  • @amechianakwenze5207
    @amechianakwenze5207 2 года назад

    I had duration in days in one spreadsheet and I copied it to another spreadsheet but it turned to dates and time. How do I convert back to days?

  • @jalalkasmani2575
    @jalalkasmani2575 4 года назад

    How to ignore weekends sat and Sunday if any in between, while calculation ?

  • @luciens8486
    @luciens8486 7 лет назад +1

    how to calculate the half of an hour

  • @satsokkea800
    @satsokkea800 3 года назад

    Hi.
    I really need help for this point
    for example i have this results
    2Years, 4Months,3Days
    and i want to sum it together Like
    2Years,4Months,3Days+1Years,2Months,2Days.=...?
    how to do this ?
    Thanks.

  • @JimStaAna-un1ew
    @JimStaAna-un1ew 3 года назад

    Thanks you sir, but say how about if i wanted to include the minutes?

  • @excelisfun
    @excelisfun  14 лет назад

    Shouldn't it be 21 days 4 hours...
    try:
    =INT(C13)-INT(C12)&" days and "&TEXT(C13-C12,"hh:mm:ss")&" hours"

  • @SyedMuzammilMahasanShahi
    @SyedMuzammilMahasanShahi 7 лет назад

    EXCELlent Mike.

  • @rainbowstudiopowakhali3187
    @rainbowstudiopowakhali3187 4 года назад

    is helpful video. worked

  • @stiflerkh5736
    @stiflerkh5736 6 месяцев назад

    It work for me in 2024......

  • @chirag1883
    @chirag1883 16 лет назад

    Nice trick.
    Thanks

  • @noobamf316
    @noobamf316 14 лет назад

    As I analyze the trick, the Days & Hours should have been 20 days & 4:00:33hours. I try this function =INT((TEXT(C13-C12,"[h]")+0)/24)&" days & "&TEXT(TEXT(C13-C12,"[h]")-INT((TEXT(C13-C12,"[h]"))),"[h]:mm:ss")&" hours" but it came out like this 20 days & 0:00:00hours. HOPE YOU CAN HELP ME OUT. THANKS A LOT

  • @vasughvk
    @vasughvk 3 года назад

    Nice

  • @VishalChauhan-iz5yt
    @VishalChauhan-iz5yt 4 года назад

    Sir, Is it possible to write date and time function in a single cell ?

    • @excelisfun
      @excelisfun  4 года назад

      Yes, you can type date and time separated by a space or create a date formula and add the time formula.

  • @dhapumdhap
    @dhapumdhap 12 лет назад

    Mr. Girvin, you make it look so easy! Anyways, have a question.
    I want to split say, total number of days elapsed between two dates and list them as "1 month 16 days" for 46 days elapsed. Also, format the data so appropriate singular or plural notation is in effect depending on 1 or more days or months. Thus 109 days would possibly translate into 3 months and 18 days or 11 days would simply be that, 11 days; or exact 2 months (no days) etc.
    How to accomplish that? Thanks in advance.

  • @ediroll33
    @ediroll33 11 лет назад

    I seem to be getting weird results with this,are you able to help
    07/01/2013 10:41:56 - 07/02/2013 06:29:16 = 31 days 739 hours
    format is mm/dd/yyyy hh:mm:ss

  • @jamescaiquep3794
    @jamescaiquep3794 7 месяцев назад

    i think 484 should be subtracted by 21*24 to get hours so it will be 21 days and 20 hours

  • @kannanm291
    @kannanm291 Год назад

    What about the 33 mins

  • @qu33n-s
    @qu33n-s Год назад

    I am getting an error: #value! ... maybe cause i alredy have a formula on my cells to combine the date and time !
    I dont know .. please help me, I'm trying for the last 4 days 😭😭

  • @johnguiyab8744
    @johnguiyab8744 11 месяцев назад

    21 multiplied by 24 = 504

  • @bibletagalogverses8670
    @bibletagalogverses8670 7 лет назад

    Hi ,thank you very much for your videos I really learned a lot from it. But I had this formula and it does work but I need to subtract the break time from exactly 12pm to 1:30pm . I hope you can help me. Thank you very much.
    =(NETWORKDAYS.INTL(A2,B2,11,H$1:H$3)-1)*("17:30"-"8:30")+IF(NETWORKDAYS.INTL(B2,B2,11,H$1:H$3),MEDIAN(MOD(B2,1),"8:30","17:30"),"17:30")-MEDIAN(NETWORKDAYS.INTL(A2,A2,11,H$1:H$3)*MOD(A2,1),"8:30","17:30"),

  • @excelisfun
    @excelisfun  12 лет назад

    Best to do with VBA. I am not good with VBA. Try THE best Excel site (many good VBA people):
    mrexcel [dot] com/forum

  • @excelisfun
    @excelisfun  13 лет назад

    I have book and DVD:
    mrexcel [dot] com/slayingdragonsbundle.html

  • @coolbasedgigachad6820
    @coolbasedgigachad6820 3 года назад

    Hi

  • @67polara
    @67polara 7 лет назад

    none of it works if you can't figure out how to enter a 'square-bracket"..