+ Reply to Thread
Results 1 to 5 of 5

Finding the Maximum Row based on a non duplicate rule

  1. #1
    Registered User
    Join Date
    10-20-2011
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    98

    Finding the Maximum Row based on a non duplicate rule

    My Problem cell in this Example is G7

    Max Row IF.xlsx

    I am looking for the maximum row based on multiple criteria AND a condition that checks that there are no duplicate values in the range (column A)


    Struggling with the last part

    Thanks for any Help.

    Beat.
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Finding the Maximum Row based on a non duplicate rule

    hi Beat. why should the eg return 2? row 2 & 3 meets your criteria, dont they? so when you want to return 2, is it the 2nd name from the list? or is it a typo & should be 3 instead?

    this will give you 2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    this will give you 3:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    both array formulas....confirmed by pressing CTRL-SHIFT-ENTER to activate the array. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL-SHIFT-ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    10-20-2011
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    98

    Re: Finding the Maximum Row based on a non duplicate rule

    I need this array formula

    =MAX(ROW($A$2:$C$10)*($B$2:$B$10=F2)*($C$2:$C$10=H2))

    but with an extra rule that says only return this row if there are no duplicate values in Column A
    otherwise return 0 as the condition has not been meet, Hence why i have a 0 in the EG box

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Finding the Maximum Row based on a non duplicate rule

    IN G2 use tis and drag down.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    10-20-2011
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    98

    {SOLVED}: Finding the Maximum Row based on a non duplicate rule

    Thanks Guys,

    Both of these formula's work well

    Cheers,

    Beat

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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