+ Reply to Thread
Results 1 to 15 of 15

Min on Odd Numbers

  1. #1
    Registered User
    Join Date
    12-10-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    12

    Min on Odd Numbers

    Hi everyone,

    I have a few odd numbers that have two dots like this 00.00.00 (they're exported from a website and show up like that). How do I do a Min function in column C to see the lowest number?

    I would like to keep the formatting the same if possible, because the sheet needs to be imported to the website again.
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Min on Odd Numbers

    Try:
    =TEXT(AGGREGATE(15,6,SUBSTITUTE(D2:I2,".",":")+0,1),"hh.mm.ss")

    P/s: if you want it to be real time, but display under "hh.mm.ss"

    =AGGREGATE(15,6,SUBSTITUTE(D2:I2,".",":")+0,1)

    Format as "hh.mm.ss"
    Last edited by bebo021999; 10-14-2020 at 02:35 AM.
    Quang PT

  3. #3
    Registered User
    Join Date
    12-10-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Min on Odd Numbers

    Perfect! Thank you very much bebo021999!

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

    Re: Min on Odd Numbers

    Are you sure about that??

    the original format is hh.mm.decimal seconds (there are several seconds values greater than 59). Bebo's formula works for hh.mm.ss
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

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

    Re: Min on Odd Numbers

    Try this instead:

    =AGGREGATE(15,6,LEFT(D2:I2,2)/24+MID(D2:I2,4,2)/1440+RIGHT(D2:I2,2)/144000,1)

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

    Re: Min on Odd Numbers

    Here's a better version:

    =AGGREGATE(15,6,DOLLARDE(SUBSTITUTE(D2:I2,".","",2),6000)/24,1)

    format as time.

  7. #7
    Registered User
    Join Date
    12-10-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Min on Odd Numbers

    Whoops celebrated slightly too early... I see any number that ends with .60 or higher it changes the actual number.

    For instance 00.32.60 becomes 00.33.00.
    Or 00.33.75 becomes 00.34.15.

    Any idea how to get around that so it doesn't change the numbers?

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

    Re: Min on Odd Numbers

    I beat you to that conclusion!! See posts 4-6, especially post 6.

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

    Re: Min on Odd Numbers

    I converted hh.mm.decimal seconds to hh:mm:ss and then calculated the minimum.

    Or do you REALLY want to keep the odd hh:mm:decimal seconds format??

  10. #10
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Min on Odd Numbers

    You should type in the expected outcome in yellow range.
    Is "00.35.61" is 0h 35 minutes and 61 seconds, equal 0h 36 minutes and 1 second?

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

    Re: Min on Odd Numbers

    No it looks like a decimal second.

  12. #12
    Registered User
    Join Date
    12-10-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Min on Odd Numbers

    It is indeed a decimal second. My original list has a hundred cyclists on, and sometimes the difference between who comes out on top comes down to the decimal second.

    So 00.35.61 is actually 35.61 seconds. The top 5 guys all have 00.33.xx times, only separated by the decimal.

    I wouldn't mind the time formats, it's just my table on the website gets real confused and can't sort properly if it's not in the 00.00.00 format.

  13. #13
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Min on Odd Numbers

    Now I see it is mm.ss.00
    Is it simple that replace the first "." with ":" to be real time, then format "mm:ss.00"

    Please Login or Register  to view this content.
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    12-10-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Min on Odd Numbers

    Excellent work gentleman, that's perfect! Thank you very much!

    As a token of my gratefulness I have depicted you as you both are, champions!

    Please note this is actually not a depiction of a real life event, but an extremely well done photoshop job
    Attached Images Attached Images

  15. #15
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Min on Odd Numbers

    Hahaha,
    Nice pic.
    According to athletes ID number, I guess I am right person?

+ 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: 4
    Last Post: 12-17-2015, 12:33 AM
  2. Replies: 7
    Last Post: 02-27-2014, 10:56 PM
  3. Replies: 11
    Last Post: 10-16-2013, 10:21 PM
  4. [SOLVED] [SOLVED] Macro/Wildcard to remove only numbers excluding text with numbers
    By indianhp in forum Word Programming / VBA / Macros
    Replies: 6
    Last Post: 06-21-2013, 08:16 AM
  5. [SOLVED] Convert all numbers stored as text or custom formatted to numbers &no decimals - 40 sheets
    By synses in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-19-2013, 01:46 AM
  6. Replies: 8
    Last Post: 11-01-2012, 07:49 PM
  7. [SOLVED] How to merge a numbers from 3 cells, eliminate repetitive numbers, and sort such numbers?
    By david gonzalez in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-22-2012, 11:59 AM

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