+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Finding the highest time value in a range and again compare which is the highest time

  1. #1
    Registered User
    Join Date
    10-08-2010
    Location
    hyderabad, india
    MS-Off Ver
    Excel 2003
    Posts
    3

    Finding the highest time value in a range and again compare which is the highest time

    Hi all

    Can anybody help with the following excel query :

    I'm having a time values in A and C columns like this :
    using the max formula like this =max(a3:a5+if(a3:a5<=time(6,0,0),1,0)) (press cltr+shift+enter) i' getting the maximum time.

    8:39 7:11
    7:38 8:46
    7:56 7:53
    --------------
    8:39 8:46
    ---------------

    0:53 1:00
    0:56 0:14
    0:42 23:58
    22:25 0:16
    0:47 0:28
    0:41 0:16
    0:57 0:48
    0:31 0:31
    23:54 0:25
    ----------------
    0:57 1:00
    ---------------
    There is no problem to finding the result if time is more than 23:59 i'm getting the highest time.

    But in the following case where the time value is before 23:59 i'm getting only 0:00 values.
    23:20
    22:58
    21:24
    21:24
    23:39
    23:55
    --------
    0:00
    --------
    I need your help for find the values whether it is < 23:59 or > 23:59 in time value in a single array formula. And after that again i have to find in A and C columns which is the highest time?

    Thanks and awaiting for your reply in this regard.

    Bab
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Finding the highest time value in a range and again compare which is the highest

    Using the sample:

    Please Login or Register  to view this content.
    blanks equate to 0 and Time is just a number with 0 being midnight - hence the 0 output without the ISNUMBER test

  3. #3
    Registered User
    Join Date
    10-08-2010
    Location
    hyderabad, india
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Finding the highest time value in a range and again compare which is the highest

    Thanks. Pleasure appreciations to you. How to find maximum time in respect of A28 and B38 columns. What i meant is i have a maximim time in A28 for A column rows and another maximum time in B38 for B column rows, and finally i want to find which column has the maximum time A28 or B38 column.

    once again thanks.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Finding the highest time value in a range and again compare which is the highest

    If you are already storing MAX of A & B in separate cells - simply conduct a MAX of those two cells, no ?

    If the above is not what you want - post a sample file to better illustrate requirements.

  5. #5
    Registered User
    Join Date
    10-08-2010
    Location
    hyderabad, india
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Finding the highest time value in a range and again compare which is the highest

    OK. all are working and solved my puzzle.

    Thank you very much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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