+ Reply to Thread
Results 1 to 3 of 3

Count all equal highest values in a row.

  1. #1
    Registered User
    Join Date
    09-05-2014
    Location
    Pittsburgh
    MS-Off Ver
    2010
    Posts
    16

    Count all equal highest values in a row.

    I have a formula that identifies the highest absolute value in a row of data:

    =MAX(-MIN(A1:DSB1), MAX(A1:DSB1))

    However there are always several cells in the row that all have the highest value. Since there are so many rows it's not easy to identify the cells accurately. I'd like to AT LEAST be able to have an accurate count of the cells with the highest value. So if 43 was the highest value in a row and 43 occurred 4 times, I could have a cell at the end of the row display the number 4.

    And IDEALLY I would prefer a list of the 4 column names in the row which had the result of 43 but that may be too complicated for me from what I've read on this so far. I'm pretty new to excel.

    Thanks in advance for looking.

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Count all equal highest values in a row.

    May be this.....
    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Count all equal highest values in a row.

    With
    A1:DSB1 containing column headings: Alpha, Bravo, Charlie, etc
    A2:DSB2 containing random positive and negative values

    This formula returns the largest absolute value of that range:
    Please Login or Register  to view this content.
    The count of that value (using absolute values)
    Please Login or Register  to view this content.
    Listing the matching column headings is not something Excel does easily.
    Here's one approach...
    this regular formula, copied down, begins the list of headings for matching columns:
    Please Login or Register  to view this content.
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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] MsgBox count of unique values minus column D if equal B or C
    By djfscouse in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2014, 04:49 PM
  2. Replies: 1
    Last Post: 01-10-2014, 01:55 PM
  3. Returning the Highest Count of a row of Values
    By hammer2 in forum Excel General
    Replies: 2
    Last Post: 12-06-2011, 09:25 PM
  4. Replies: 5
    Last Post: 10-18-2011, 06:07 AM
  5. Count number of values equal to MAX of a column
    By dauclair in forum Excel General
    Replies: 1
    Last Post: 05-30-2006, 09:30 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