+ Reply to Thread
Results 1 to 10 of 10

Max Value with 2 decimels in the Data

  1. #1
    Registered User
    Join Date
    04-28-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    7

    Max Value with 2 decimels in the Data

    Hi Community
    I have a data which lists Hardware firmware versions. In the columns i have different versions listed. If the vresions is 2.3 or 3.55 with one decimel, i can get the results with =Max(c2,C3).

    But as you know the firmware versions are not simple. I have data like 2.0.7, 3.5.6.1 etc and i want the max value from all data fields, but it returns 0, because of the Dta type. I have tried formatting it to Text, Number or even custom, but no luck.

    Is there a way to resove this issue with Formula as i dont want to go thrigh rows to get the highest versions.

    thanks

    Dav

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Max Value with 2 decimels in the Data

    hi Dav, welcome to the forum. assuming 2.0.7 in C2 & 3.5.6.1 in C3, try:
    =IF(SUBSTITUTE(C2,".","")&REPT(0,4-LEN(SUBSTITUTE(C2,".","")))>SUBSTITUTE(C3,".","")&REPT(0,4-LEN(SUBSTITUTE(C3,".",""))),C2,C3)

    but what is the maximum numbers the version can go to? Change the ones in red if it's more than 4

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Max Value with 2 decimels in the Data

    May be this...

    Array Formula - Requires Ctrl+Shift+Enter
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Adjust the range A1:A5 to your range


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Registered User
    Join Date
    04-28-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Max Value with 2 decimels in the Data

    Hi Benishiryo
    Thanks for the reply.

    I have around 20 columns of the versions to the Max value from and there are multiple rows.
    So i want to use the formula not for just C2 and C3 but for multiple columns.

    I think your reply compared the C3 and C4 only. Can the formula be Dynamic to get th MAx value from multiple columns of a row?

    thanks
    Dav

  5. #5
    Registered User
    Join Date
    04-28-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Max Value with 2 decimels in the Data

    Sixthsense
    Thanks, It works fine.

    Champion.:-)

  6. #6
    Registered User
    Join Date
    04-28-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Max Value with 2 decimels in the Data

    Sixthsense
    The output is not as the highest value format, i.e. if the highest value is 3.1.9 it appears as 3.19.

    Can this be fixed?

  7. #7
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Max Value with 2 decimels in the Data

    maybe this array formula then:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    do mark it as "Solved" if that's it

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Max Value with 2 decimels in the Data

    Array Formula - Requires CTRL+SHIFT+ENTER
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  9. #9
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Max Value with 2 decimels in the Data

    Try this...

    Array Formula - Requires CTRL+SHIFT+ENTER
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    04-28-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Max Value with 2 decimels in the Data

    Sixthsense
    Thanks, it works. Honestly i dont really undetsand the complex formula, but i am Glad thi is what i needed

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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