+ Reply to Thread
Results 1 to 15 of 15

Return highest Alphanumeric value from a list

  1. #1
    Registered User
    Join Date
    05-12-2016
    Location
    Houston, USA
    MS-Off Ver
    Office 365
    Posts
    11

    Return highest Alphanumeric value from a list

    I have 4 columns and 1 row.

    Entries in the 4 columns range for 1A, 1B, 1C, 1D, 1E, 2A, 2B, 2C, 2D, 2E THRU....................5A, 5B, 5C, 5D, 5E. Note the number is always before the letter.

    I want to search the 4 columns and return the highest alphanumeric value in the 5th column.

    The Lowest value in the range is 1A and Highest value in the range is 5E.

    Example: the 4 columns contain 1E, 2B, 4A and 4C. I want search the 4 columns and return the result "4C" in the 5th column.

    Thanks,

    Tom

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Return highest Alphanumeric value from a list

    Please try at E1 and drag down

    =INDEX(A1:D1,MATCH(0,INDEX(COUNTIF(A1:D1,">"&A1:D1),),))

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Return highest Alphanumeric value from a list

    Tom,

    Please update your profile to clearly indicate what version(s) of Excel you are using ... ie. 2003, 2007, 2010, 2013, 2016, 365.

    Forum members tailor solutions with this in mind. There are additional ways to solve this depending upon Excel versions. Thanks.
    Dave

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Return highest Alphanumeric value from a list

    Also
    Note the number is always before the letter.
    will the numbers always be single digits? Will there ever be say ... a 14C?

    With that in mind try
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by FlameRetired; 10-19-2018 at 03:28 PM.

  5. #5
    Registered User
    Join Date
    05-12-2016
    Location
    Houston, USA
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Return highest Alphanumeric value from a list

    Hello Bo_Ry,

    OK that works fine. Thanks for the very quick response and the formula.

    However, when I insert the formula in the cell D1 and drag it down it doesn't work in all cells? Odd and I can't see why?

    I want to attach a file, but the paperclip icon doesn't seem to work? Just get a white rectangle, not a Browse box

    Tom

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Return highest Alphanumeric value from a list

    I want to attach a file, but the paperclip icon doesn't seem to work? Just get a white rectangle, not a Browse box
    It hasn't worked for years.

    To attach a file to your post: (Please no pics or screenshots ... saves retyping data.),
    • be sure to desensitize the data
    • click “Go Advanced” (next to Post Quick Reply – bottom right),
    • scroll down until you see “Manage Attachments”, click that,
    • click “Browse”.
    • select your file(s)
    • click “Upload”
    • click “Close window”
    • click “Submit Reply”

    The file name will appear at the bottom of your reply.

  7. #7
    Registered User
    Join Date
    05-12-2016
    Location
    Houston, USA
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Return highest Alphanumeric value from a list

    Hello Bo_Ry,

    OK that works fine. Thanks for the very quick response and the formula.

    However, when I insert the formula in the cell D1 and drag it down it doesn't work in all cells? Odd and I can't see why?

    See attached and Row 14 for example

    Tom
    Attached Files Attached Files

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Return highest Alphanumeric value from a list

    Edited
    Try this modification to Bo_Ry's formula.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Or use this formula from Post #4.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by FlameRetired; 10-19-2018 at 05:58 PM.

  9. #9
    Registered User
    Join Date
    05-12-2016
    Location
    Houston, USA
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Return highest Alphanumeric value from a list

    Thanks everyone. It works.

  10. #10
    Registered User
    Join Date
    05-12-2016
    Location
    Houston, USA
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Return highest Alphanumeric value from a list

    FlameRetired,
    The DEC formula works great.
    One other thing. I mis quored the range. It starts at 0a not 1A.

    So range is

    0A, 0B, 0C, 0D, 0E thru...... 5A, 5B, 5C, 5D, 5E. 5E IS THE MAX ALPHA NUMERIC IN THE RANGE.

    The DEC formula return the highest value in range starting 1A, but only return the letters A, B, C, D, E IS THERE IS A "0" ZERO in front of the letter.

    How do I fix this to return e.g. 0C?

  11. #11
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Return highest Alphanumeric value from a list

    =dec2hex(max(index(hex2dec(a1:d1),0)), 2)
    Entia non sunt multiplicanda sine necessitate

  12. #12
    Registered User
    Join Date
    05-12-2016
    Location
    Houston, USA
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Return highest Alphanumeric value from a list

    Thanks. It works if I insert + in front of a1 i.e +a1

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,800

    Re: Return highest Alphanumeric value from a list

    Please see post #3 and update your profile accordingly. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  14. #14
    Registered User
    Join Date
    05-12-2016
    Location
    Houston, USA
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Return highest Alphanumeric value from a list

    Don't know how to do that?

  15. #15
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Return highest Alphanumeric value from a list

    Above your first post click 'Forum Actions' then click 'Edit Profile'.

+ 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. [SOLVED] Max formula to return total of highest, second highest and third highest value
    By JonWilf in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-06-2016, 08:20 AM
  2. [SOLVED] Return 4th highest number not in list.
    By JO505 in forum Excel General
    Replies: 5
    Last Post: 08-03-2015, 04:25 PM
  3. Replies: 7
    Last Post: 05-17-2013, 02:54 PM
  4. Finding the Highest Value in alphanumeric strings
    By Barking_Mad in forum Excel General
    Replies: 6
    Last Post: 10-28-2009, 04:04 PM
  5. Return Highest Alphanumeric Value
    By raehippychick in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-14-2009, 08:24 AM
  6. Return highest/lowest 6 values from a list
    By thekingsoutlaw in forum Excel General
    Replies: 4
    Last Post: 01-21-2008, 04:36 PM
  7. Return 3rd Highest Value from Unsorted List
    By jpopovaclark in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-11-2007, 05:55 PM

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