+ Reply to Thread
Results 1 to 6 of 6

Max time in a range

  1. #1
    Registered User
    Join Date
    10-25-2018
    Location
    Netherlands
    MS-Off Ver
    2016
    Posts
    2

    Max time in a range

    Hello

    I have a excel sheet with a range of start times and end times.
    Now I want to calculate the time between the start and end times.

    Tijdstip;Bron;Gebeurtenis;Bericht;Gebruiker;Bijlagen
    A1 16-09-2022 14:01:18;"Order";"End";;"Piet";
    A2 16-09-2022 13:58:45;"Order";"Start";;"Piet";
    A3 16-09-2022 13:44:18;"Order";"End";;"Piet";
    A4 16-09-2022 13:42:25;"Order";"Start";;"Piet";

    Now i use the formule Text(a1-a2;"mm:ss" in G:

    Thats works.

    Now I only want to know what is the max time if i use max (G1:G4) then i get a error.
    How can i get the max time between the end and start time range.


    Drbadvines

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,087

    Re: Max time in a range

    If you use TEXT, you get a text value output. You can't use MAX with text values. Just use A1-A2 and apply a Custom Format ("mm:ss")
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,255

    Re: Max time in a range

    sorry it was not the correct answer
    Last edited by popipipo; 09-18-2022 at 03:46 PM.
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,087

    Re: Max time in a range

    See the sample file attached.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-25-2018
    Location
    Netherlands
    MS-Off Ver
    2016
    Posts
    2

    Re: Max time in a range

    Hello,

    Thanks for the answers. It helps me a lot.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,087

    Re: Max time in a range

    You're welcome.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. Replies: 2
    Last Post: 06-26-2018, 09:10 PM
  2. [SOLVED] Check if range of time falls in another range of time
    By wafs in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-18-2018, 06:47 PM
  3. Formula to substract a range of time from a range of time
    By nabeel.rehman in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 05-22-2017, 01:14 PM
  4. [SOLVED] COUNTIF Time Range - Time Range provided in Cells
    By Eaks77 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-02-2015, 11:12 PM
  5. [SOLVED] Counting values in a time range - when the time range crosses midnight
    By dlocos in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-24-2014, 04:27 AM
  6. Calculate if Time range appears in an other Time range
    By bajdr47 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-25-2013, 02:50 AM
  7. compare time values - current time with time in cell range?
    By wyattea in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-13-2013, 11:28 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