+ Reply to Thread
Results 1 to 4 of 4

List rows with unique values in column "A" that has highest values in column "B"

  1. #1
    Registered User
    Join Date
    05-25-2022
    Location
    Hungary
    MS-Off Ver
    Professional Plus 2019
    Posts
    2

    List rows with unique values in column "A" that has highest values in column "B"

    Dear all!

    In the sheet, I have data in column A:J in x ammount of rows
    In column A is the data that I need a unique list of, because it can be reoccuring, and in column B that are numbers. I would like to list all rows (or all cells in that row from A to J column), that has a unique value in column A that have the highest corresponding values in column B.
    I hope it's clear what I'm asking.

    I'm attaching an example worksheet with the result I want to get.

    Thank you in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    31,172

    Re: List rows with unique values in column "A" that has highest values in column "B"

    See attached:

    in L20

    =IFERROR(INDEX($A$2:$A$15,MATCH(0,COUNTIF($L$19:L19,$A$2:$A$15),0)),"")

    Enter with Ctrl+Shift+Enter and copy down

    in N20

    =IFERROR(INDEX($C$2:$J$15,AGGREGATE(15,6,ROW($A$1:$A$15)/($A$2:$A$15=$A20),COUNTIF($A$2:$A$15,$A20)),COLUMN(A$1)),"")

    Copy across and down
    Attached Files Attached Files
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,429

    Re: List rows with unique values in column "A" that has highest values in column "B"

    unique column A
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    max column B
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    data
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,429

    Re: List rows with unique values in column "A" that has highest values in column "B"

    Option with Power Query
    Please Login or Register  to view this content.
    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] Extracting the common values found in Column "A" & Column "B" into Column "C"
    By Asad Mir in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 07-18-2021, 06:36 AM
  2. countif to return "x" for unique & "xx" for duplicate values in a column
    By Shruder in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-27-2018, 05:31 PM
  3. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  4. Replies: 0
    Last Post: 11-22-2013, 01:36 PM
  5. Replies: 3
    Last Post: 04-14-2013, 11:53 PM
  6. [SOLVED] Formula needed to display "Pass" or "Fail" if a column contains any values other than "yes
    By andreindy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-26-2013, 05:49 PM
  7. Replies: 1
    Last Post: 07-16-2010, 02:44 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