+ Reply to Thread
Results 1 to 10 of 10

Finding the max value in a column when both numeric and alpha numeric values are expressed

  1. #1
    Registered User
    Join Date
    11-15-2013
    Location
    Phoenix Arizona
    MS-Off Ver
    Excel 2010
    Posts
    4

    Finding the max value in a column when both numeric and alpha numeric values are expressed

    How can I set up a cell to show the max value in a column when both numeric and alphanumeric values are expressed?
    For example, I have a column that includes the following;
    101309
    101310
    101311
    101312
    101313
    101314
    101315
    101316
    101317
    101318
    G101319
    G101320

    These values are under column B and the cell I wish to show the Max value in in F5.What I would like to do is just show the largest numeric value in F5.

    Thanks for the help.

    Paul

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Finding the max value in a column when both numeric and alpha numeric values are expre

    =MAX(IF(ISNUMERIC(B1:B100),B1:B100,0)
    it's an array formula so you need to confirm with ctrl+shift+enter.

  3. #3
    Registered User
    Join Date
    11-15-2013
    Location
    Phoenix Arizona
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Finding the max value in a column when both numeric and alpha numeric values are expre

    Quote Originally Posted by yudlugar View Post
    =MAX(IF(ISNUMERIC(B1:B100),B1:B100,0)
    it's an array formula so you need to confirm with ctrl+shift+enter.
    I get an error that states Your formula is missing a parenthesis--) or (.Check the formula,and then add the parenthesis in the appropriate place.

  4. #4
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Finding the max value in a column when both numeric and alpha numeric values are expre

    So it is
    =MAX(IF(ISNUMERIC(B1:B100),B1:B100,0))

  5. #5
    Registered User
    Join Date
    11-15-2013
    Location
    Phoenix Arizona
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Finding the max value in a column when both numeric and alpha numeric values are expre

    Quote Originally Posted by yudlugar View Post
    So it is
    =MAX(IF(ISNUMERIC(B1:B100),B1:B100,0))
    Keep gettiing a #Name error

  6. #6
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Finding the max value in a column when both numeric and alpha numeric values are expre

    What result are you expecting from your example? MAX ignores text values (in a range reference) so if you use

    =MAX(B:B)

    you should get 101318

    [assuming all your values that look like numbers are numbers
    Audere est facere

  7. #7
    Registered User
    Join Date
    11-15-2013
    Location
    Phoenix Arizona
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Finding the max value in a column when both numeric and alpha numeric values are expre

    What I am looking for is the Max value to read 101320 ignoring the "G".

  8. #8
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Finding the max value in a column when both numeric and alpha numeric values are expre

    are there prefixes other than g? if so are there sometimes more than one leading alpha?
    IF NOT then maybe

    =MAX(INDEX(SUBSTITUTE(A1:A12,"G","")*1,0))
    Last edited by martindwilson; 11-15-2013 at 04:42 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  9. #9
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Finding the max value in a column when both numeric and alpha numeric values are expre

    You could use this formula (credit I believe to Ron Coderre):
    =1*(SUMPRODUCT(MID(0&A1,LARGE(INDEX(ISNUMBER(--MID(A1,ROW($1:$25),1))*ROW($1:$25),0),ROW($1:$25))+1,1)*10^ROW($1:$25)/10))
    in a helper column to remove all the letters and then max on those values

  10. #10
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: Finding the max value in a column when both numeric and alpha numeric values are expre

    array forumula (C S E)
    =MAX(--RIGHT(A1:A12,6))

+ 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. Find alphanumeric values in one column and split alpha from numeric
    By bowdendavid in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-08-2013, 03:23 PM
  2. [SOLVED] Formula to only return a number value in a column with mixed Alpha and Numeric values
    By AusVivienne in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-05-2012, 03:17 AM
  3. Extracting Numeric Values from an Alpha/Numeric String
    By Delkath in forum Excel General
    Replies: 5
    Last Post: 10-27-2010, 02:36 PM
  4. Finding an alpha numeric close match
    By carsto in forum Excel General
    Replies: 6
    Last Post: 11-15-2006, 10:17 AM
  5. Finding the mode (alpha numeric)
    By Jamesy in forum Excel General
    Replies: 3
    Last Post: 07-26-2005, 10:12 AM

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