+ Reply to Thread
Results 1 to 5 of 5

Formula for Incorporating Numerical Maximum and Alphabetical Qualifier In One Cell

  1. #1
    Registered User
    Join Date
    09-20-2011
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    Formula for Incorporating Numerical Maximum and Alphabetical Qualifier In One Cell

    I am seeking a formula (or combined formulas) that will produce two types of results, depending on the type of data present in a given row.

    Please see the attached example spreadsheet in conjunction with the following explanation:

    Possibility 1: If all values in the 'Result' columns of a given row are "<", produce a result of "ND" in column A.

    Possibility 2: If at least one value in the 'Result' columns of a given row is a numerical value, select the maximum (if only one numerical value exists, that would be the maximum), AND incorporate "J" (if it is present in the 'Qualifier' column) in column A.

    I hope that makes sense. I am hoping to find a formula (or combined formulas) that yields results for both possibilities (i.e. that can simply be copied down for all rows of column A), because I have many thousands of rows of data. Any ideas?

    Much thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Formula for Incorporating Numerical Maximum and Alphabetical Qualifier In One Cell

    Try this ...

    =IF(COUNT(B4:I4)=0,"ND",MAX(B4:I4)&INDEX(C4:I4,MATCH(MAX(B4:H4),B4:H4,0)))

  3. #3
    Registered User
    Join Date
    09-20-2011
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Formula for Incorporating Numerical Maximum and Alphabetical Qualifier In One Cell

    This is perfect! Wow, thank you for such a speedy response! You've been a great help

  4. #4
    Registered User
    Join Date
    09-20-2011
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Formula for Incorporating Numerical Maximum and Alphabetical Qualifier In One Cell

    Unfortunately, however, my example was too simplistic for some of my data.

    I have made a couple of adjustments to the example table that more accurately represent the format of the data. The formula you provided works great under some conditions but not under others. I modified the formula a tad, which solved some of the issues, but not all. See new attachment. Thanks again for any help.
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Formula for Incorporating Numerical Maximum and Alphabetical Qualifier In One Cell

    Edit in cell A7:

    =IF(COUNT(B7:Q7)=0,"ND",MAX(B7:Q7)&INDEX(B7:Q7,CEILING(MATCH(MAX(B7:Q7),B7:Q7,0),4)))

+ 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: 5
    Last Post: 06-12-2014, 12:08 AM
  2. [SOLVED] Invalid Qualifier to a Valid Qualifier (Application)
    By exceltabz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-16-2014, 11:31 AM
  3. Replies: 4
    Last Post: 03-20-2013, 04:53 PM
  4. Changing Column Reference from Numerical to Alphabetical
    By lovable_zaets in forum Excel General
    Replies: 2
    Last Post: 11-28-2007, 09:04 PM
  5. Numerical integration to a maximum value using VBA
    By John in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-05-2006, 10:45 PM
  6. columns are numerical insted of alphabetical
    By Chris in forum Excel General
    Replies: 3
    Last Post: 09-26-2005, 10:05 AM
  7. [SOLVED] Why are my column headings numerical instead of alphabetical?
    By raken in forum Excel General
    Replies: 1
    Last Post: 09-09-2005, 12:05 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