+ Reply to Thread
Results 1 to 8 of 8

Find max row and return corresponding value

  1. #1
    Registered User
    Join Date
    02-24-2007
    Posts
    84

    Find max row and return corresponding value

    I would like a bit of help with the following problem....

    I would like to find the last entry of 0 in the colums marked run counter A..F
    I would then like the corresponding value from the Settings columns A..D, entered under the Process columns.
    eg, process A, has a 0 in cell F7, so row 7. The corresponding values for this are located in cells A7 and B7 (as per my page).
    for process B, the row number is 8 (but could be 2 or 9, there is no regimented order), so would require the settings values in cells A8 and B8.

    I would like to add an automatic function into the cells A3..M6 to complete this operation, noting that process F has 4 settings as opposed to 2.

    I have attached a copy of part of my spreadsheet page to make this a little clearer.

    I hope you can help. Thanks.
    Attached Files Attached Files
    Last edited by gavster; 08-16-2013 at 07:29 AM. Reason: solved

  2. #2
    Valued Forum Contributor TheCman81's Avatar
    Join Date
    11-06-2012
    Location
    Edinburgh, UK
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    346

    Re: Find max row and return corresponding value

    Hi Gav

    Will something like this help you?

    Gavsterv1.xls
    Excel Guru in the making

    <----------If the question has been answered to your satisfication please click the Add Repuation star to the left

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

    Re: Find max row and return corresponding value

    you have managed to confuse things nicely with calling labeling your columns a,d,c,d,e,f
    is this what you want?
    Attached Files Attached Files
    "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

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Find max row and return corresponding value

    In M3

    =INDEX(INDEX($A$3:$D$12,,ROW(A1)),MATCH(0,F$3:F$12,0))

    Copy down and across
    Life's a spreadsheet, Excel!
    Say thanks, Click *

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

    Re: Find max row and return corresponding value

    op did say
    I would like to find the last entry of 0
    implying there may be more that one

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Find max row and return corresponding value

    I'm not at all sure what you are doing with columns C and D but this will find the 0 in columns F, G, and H and return the values in columns A and B that match the row where the 0's are.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Enter with Ctrl + Shift + Enter

    For the values in row 4 under the above values use this VLOOKUP
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  7. #7
    Registered User
    Join Date
    02-24-2007
    Posts
    84

    Thumbs up Re: Find max row and return corresponding value

    Thanks guys for the quick responses, and apologies for not getting back to this sooner.

    The solutions put forward by TheCman81 and martindwilson appear similar and both appear to work for me.

    Thanks for the other replies, this forum is sooo helpfull to idiots such as myself. Maybe oneday I can return the favour when I finally understand excel!!

    Thanks agin,
    Gavin

  8. #8
    Valued Forum Contributor TheCman81's Avatar
    Join Date
    11-06-2012
    Location
    Edinburgh, UK
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    346

    Re: Find max row and return corresponding value

    Quote Originally Posted by gavster View Post
    Thanks guys for the quick responses, and apologies for not getting back to this sooner.

    The solutions put forward by TheCman81 and martindwilson appear similar and both appear to work for me.

    Thanks for the other replies, this forum is sooo helpfull to idiots such as myself. Maybe oneday I can return the favour when I finally understand excel!!

    Thanks agin,
    Gavin
    Glad to help and thanks for the feedback

+ 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. How to find the annualized return from a monthly return series
    By tulasiram in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-01-2013, 05:39 AM
  2. [SOLVED] Find match, find related cell and return that number
    By HelpHelpHelp in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-17-2012, 06:46 AM
  3. How to find and return value
    By Marta Maria in forum Excel General
    Replies: 4
    Last Post: 11-26-2007, 01:57 PM
  4. find min in one row return value from another
    By jj33002 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-28-2007, 11:44 AM
  5. [SOLVED] find & return value
    By Melissa in forum Excel General
    Replies: 3
    Last Post: 09-23-2005, 07: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