+ Reply to Thread
Results 1 to 7 of 7

Finding the highest of 3 values, but only headers appear in text string

  1. #1
    Forum Contributor
    Join Date
    05-04-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    125

    Finding the highest of 3 values, but only headers appear in text string

    Hi all,

    I have 3 columns (with headers) with values running down a worksheet, and I need to find the highest values in each of the rows (which ordinarily wouldn't be an issue), however I only need to search in as few as 1 of the columns, depending upon which values appear in a text field to the right of the 3. If the heading isn't shown then I can't include it in the comparison.

    The text field in Column D will have either (or all of BSS, PBSS or HPRSS) and the formula will need to search through this text field then compare the headers and extract 1-3 values to compare.

    I know there has to be a way to achieve it but I can't piece a formula together that works, I've tried Index with Search/Find and Max but to no avail.

    As usual any pointers appreciated.

    Many Thanks

    Max Find.xlsx
    Last edited by DaveBre; 03-19-2014 at 07:43 AM.

  2. #2
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Finding the highest of 3 values, but only headers appear in text string

    Hi
    Paste this array formula to e7 cell and drag doün
    =MAX(IF(ISERROR(SEARCH($A$6:$C$6,D7)),0,1)*$A$7:$C$9)
    Appreciate the help? CLICK *

  3. #3
    Forum Contributor
    Join Date
    05-04-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    125

    Re: Finding the highest of 3 values, but only headers appear in text string

    Thanks AZ-XL,

    I modified the formula to remove the absolute ref from around the $A:C9 ate the end of the formula, so that it reflected the cells on the following rows B onwards.

    The result works well.

    Thanks

    David

  4. #4
    Forum Contributor
    Join Date
    05-04-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    125

    Re: Finding the highest of 3 values, but only headers appear in text string

    Thanks AZ-XL,

    I modified the formula to remove the absolute ref from around the $A:C9 ate the end of the formula, so that it reflected the cells on the following rows B onwards.

    The result works well.

    Thanks

    David

  5. #5
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Finding the highest of 3 values, but only headers appear in text string

    You are welcome. Thanks for feedback

  6. #6
    Forum Contributor
    Join Date
    05-04-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    125

    Re: Finding the highest of 3 values, but only headers appear in text string

    Hi AZ-XL,

    I've just implemented the solution into my working spreadsheet and I've come across an issue.

    In my example B9 looks blank, but actually contains a formula, and as a result the formula =MAX(IF(ISERROR(SEARCH($A$6:$C$6,D7)),0,1)*$A$7:$C$9) returns a #Value for that line.

    Any idea how I can have the formula ignore the cells in column B which look blank but contain a formula?

    Thanks

    David

  7. #7
    Forum Contributor
    Join Date
    05-04-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    125

    Re: Finding the highest of 3 values, but only headers appear in text string

    Actually, please ignore. I've substituted "" in column B for 0's, and as a result the formula works.

    Thanks

+ 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] Finding next 3 highest values after certain criteria
    By jamblo in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-06-2013, 09:26 AM
  2. Replies: 7
    Last Post: 05-11-2010, 04:56 AM
  3. Finding the highest value from two columns of data
    By JaB in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-02-2006, 08:30 AM
  4. Finding the highest values
    By bob135 in forum Excel General
    Replies: 6
    Last Post: 04-12-2006, 03:30 AM
  5. [SOLVED] Finding (Multiple) Highest Values in Column
    By Shay Hurley in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-03-2005, 12:05 PM

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