+ Reply to Thread
Results 1 to 7 of 7

Need a formula to time difference

  1. #1
    Registered User
    Join Date
    02-08-2014
    Location
    Chennai
    MS-Off Ver
    Excel office 365
    Posts
    43

    Arrow Need a formula to time difference

    Dear,


    Need to LAMBDA formula to recursive through all the time values in cells A2 & B2. And print each duration result in C2. Please help thanks in advance.


    time cal.png
    Last edited by anavarathan; 12-08-2023 at 08:12 AM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Need a formula to time difference

    If you are looking for a LAMBDA function that means that you are not using Excel 2007 as your profile states - please update this so contributors know what version of Excel you are using.

    Pete

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Need a formula to time difference

    Next time, please upload an Excel file, instead of a non-editable picture of one. It saves us (me) having to recreate what you have right in front of you.

    =TEXTJOIN(CHAR(10),,TEXT(TEXTSPLIT(B2,,CHAR(10))-TEXTSPLIT(A2,,CHAR(10)),"hh:mm:ss"))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Registered User
    Join Date
    02-08-2014
    Location
    Chennai
    MS-Off Ver
    Excel office 365
    Posts
    43

    Re: Need a formula to time difference

    Sorry updated. Thanks

  5. #5
    Registered User
    Join Date
    02-08-2014
    Location
    Chennai
    MS-Off Ver
    Excel office 365
    Posts
    43

    Re: Need a formula to time difference

    Thank you.

  6. #6
    Registered User
    Join Date
    02-08-2014
    Location
    Chennai
    MS-Off Ver
    Excel office 365
    Posts
    43

    Re: Need a formula to time difference

    Quote Originally Posted by Glenn Kennedy View Post
    Next time, please upload an Excel file, instead of a non-editable picture of one. It saves us (me) having to recreate what you have right in front of you.

    =TEXTJOIN(CHAR(10),,TEXT(TEXTSPLIT(B2,,CHAR(10))-TEXTSPLIT(A2,,CHAR(10)),"hh:mm:ss"))
    Thank you

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Need a formula to time difference

    You're welcome. Thanks for letting us know that you got an answer.




    Please take a moment and consider clicking the "Add Reputation" button at the foot of any of the posts of anyone who helped you reach a solution here today.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Formula for time difference
    By amitesh9 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-23-2022, 10:44 AM
  2. Formula for time difference
    By amitesh9 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-17-2022, 09:23 AM
  3. Replies: 1
    Last Post: 10-18-2019, 12:38 AM
  4. Replies: 3
    Last Post: 08-12-2017, 01:48 AM
  5. Difference between Time formula
    By ClintonL in forum Excel General
    Replies: 7
    Last Post: 02-21-2017, 01:37 AM
  6. Averaging Time after using formula to determine time difference
    By Yfandeslady in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-26-2014, 03:22 PM
  7. Time Difference Formula
    By MEL79 in forum Excel General
    Replies: 2
    Last Post: 03-11-2005, 05:57 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1