+ Reply to Thread
Results 1 to 4 of 4

Finding the lowest 2 values across two rows, return row headers

  1. #1
    Registered User
    Join Date
    10-02-2013
    Location
    Belfast
    MS-Off Ver
    Excel 2003/2007
    Posts
    2

    Finding the lowest 2 values across two rows, return row headers

    All,

    I have 2 data sets, split across 10 rows and 5 columns. Row 1 and row 5 contain my data set headers. I need to identify the 2 lowest values from row 5 and row 10 (Difference%). The 2 lowest might be in row 5, row 10 or split between both. Once I find the lowest 2 values I need to return the corresponding header value (Category) from row 1 and/or row 6, depending on where the 2 lowest value appears.

    I've a sample spreadsheet attached.

    Any assistance greatly appreciated.

    Ronan
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Finding the lowest 2 values across two rows, return row headers

    I'ts not clear: can 2 minimum values be in one row? For example if B10 is -14.5 do you expect to return ST and AP or minimum from each row?
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-02-2013
    Location
    Belfast
    MS-Off Ver
    Excel 2003/2007
    Posts
    2

    Re: Finding the lowest 2 values across two rows, return row headers

    Quote Originally Posted by zbor View Post
    I'ts not clear: can 2 minimum values be in one row? For example if B10 is -14.5 do you expect to return ST and AP or minimum from each row?
    Hi zbor,

    Yes, the minumum values could exist within the same row. In my example I have it split across row 5 and row 10, but it may be that when you inspect row 5 and row 10 together then the minimum values are only found in 1 of the rows.

    Where the mimimum value is found I would like to go directly to the row header for that data set. In this instance, if both minimum values are found in row 10 then it would return 2 header values (called category) from row 6. If a minimum value was in row 5 and the 2nd minimum value in row 10 then I would like it to return the header from row 1 and row 6 respectively.

    Appreciate the help!

    -- Edit --

    I see what you have done there and that was how I initially had it, until I realised the minimum values may exists in the same row but I need to check both rows before I can identify if that is the case.

    Ronan
    Last edited by ronanmagee; 10-02-2013 at 09:17 AM.

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Finding the lowest 2 values across two rows, return row headers

    Sorry for late reply...
    Attached Files Attached Files

+ 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 lowest x values in a filtered column
    By simon_humber in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-25-2012, 08:43 PM
  2. Replies: 2
    Last Post: 05-09-2012, 01:30 PM
  3. Finding the Lowest Values and Matching
    By artiststevens in forum Excel General
    Replies: 1
    Last Post: 05-04-2011, 11:45 PM
  4. Finding the sum of a row - the lowest 3 values
    By Nathan Carter in forum Excel General
    Replies: 5
    Last Post: 09-20-2005, 04:05 AM
  5. Finding the 5 lowest values in a range?
    By JamesH in forum Excel General
    Replies: 1
    Last Post: 01-31-2005, 06:59 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