+ Reply to Thread
Results 1 to 3 of 3

Find Duplicate Name in 1 Column and Return Maximum of all Values associated with that Name

  1. #1
    Registered User
    Join Date
    03-10-2017
    Location
    APAC
    MS-Off Ver
    2013
    Posts
    10

    Find Duplicate Name in 1 Column and Return Maximum of all Values associated with that Name

    Hi everyone,

    I intend to find duplicate values (in Column B) based on a cell of interest (Cell B7). Then, look through prices (in Column C) to return the maximum value associated with those duplicates into Cell H7.

    Below is an attachment of an example.

    Picture 1.jpg

    I have tried this formula so far:
    Please Login or Register  to view this content.
    But the above formula only finds the maximum value in 1 cell, not the whole column.

    How would you go about doing this?

    Thanks in advance!

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: Find Duplicate Name in 1 Column and Return Maximum of all Values associated with that

    Try in H7:

    Please Login or Register  to view this content.

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. 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.
    Quang PT

  3. #3
    Registered User
    Join Date
    03-10-2017
    Location
    APAC
    MS-Off Ver
    2013
    Posts
    10

    Re: Find Duplicate Name in 1 Column and Return Maximum of all Values associated with that

    Thank you so much, bebo021999!
    The code you provided was so simple to understand, and it that solved the problem!

+ 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. Formula to find multiple maximum values in a column
    By Destroy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-02-2015, 06:25 PM
  2. Replies: 7
    Last Post: 10-07-2015, 03:01 PM
  3. [SOLVED] Writing a SELECT query to return only records with duplicate values in one column
    By mc84excel in forum Access Tables & Databases
    Replies: 3
    Last Post: 04-24-2015, 12:16 AM
  4. Find Duplicate in one column then compare to values in another
    By cooper.1651 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-08-2015, 12:10 PM
  5. How to find duplicate values in another column
    By JessK in forum Excel General
    Replies: 2
    Last Post: 06-16-2014, 09:11 AM
  6. [SOLVED] Return Column Headers based on row rank with duplicate values in row
    By carlwin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-31-2013, 12:24 AM
  7. Find duplicate keywords, and list maximum
    By undergraduate in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-13-2010, 10:29 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