+ Reply to Thread
Results 1 to 2 of 2

Comparing Two Columns for a Match and Referencing a Third, Return Max of Third

  1. #1
    Registered User
    Join Date
    01-23-2013
    Location
    Cleveland, OH
    MS-Off Ver
    Excel 2003
    Posts
    1

    Comparing Two Columns for a Match and Referencing a Third, Return Max of Third

    Hello,
    New guy here, just ran into an problem I can't seem to find the solution to. Any help anyone could provide would be greatly appreciated. Here's my problem:

    A B C
    1 1111 XXXX 1
    2 1111 XXXX 3
    3 1111 YYYY 1
    4 2222 XXXX 3
    5 2222 ZZZZ 3
    6 3333 XXXX 1
    7 3333 YYYY 1
    8 3333 YYYY 2

    So if multiple rows match in Column A&B (Like Row 1 and 2) I want to return only the highest of Column C preferrably into a second sheet that would like like this:


    A B C
    1 1111 XXXX 3
    2 1111 YYYY 1
    3 2222 XXXX 3
    4 2222 ZZZZ 3
    5 3333 XXXX 1
    6 3333 YYYY 2




    So Row 1 and Row 7 from the top sheet have been eliminated since there other rows with matching A and B Columns, but higher values in Column C.


    Any ideas?

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

    Re: Comparing Two Columns for a Match and Referencing a Third, Return Max of Third

    hi nzola82, welcome to the forum. i did a pivot & another that's using array formulas in column M. the formulas in column M needs to be confirmed using CTRL + SHIFT + ENTER if you were to edit it.
    Attached Files Attached Files

    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

+ 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