+ Reply to Thread
Results 1 to 8 of 8

Finding maximum value in a range:highest value in columns

  1. #1
    Registered User
    Join Date
    03-18-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    68

    Finding maximum value in a range:highest value in columns

    Hi,

    I need to find the most repeated highest value in columns, is there any such formulea, i tried with IF, but its too complicated.

    The data looks like this.

    C1 C2 C3 C4 C5 C6 C7 C8
    1 2 2 1 1 3 3 2

    actual result i am expecting from this is -- 2

  2. #2
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    re: Finding maximum value in a range:highest value in columns

    try this :-

    =MAX((COUNTIF(C1:C8,C1:C8)=MAX(COUNTIF(C1:C8,C1:C8)))*C1:C8)

    its an array formula so to enter it press CTRL-SHIFT-ENTER rather than just enter
    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


  3. #3
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    re: Finding maximum value in a range:highest value in columns

    or maybe
    =MODE(C1:C8)
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  4. #4
    Registered User
    Join Date
    03-18-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    68

    re: Finding maximum value in a range:highest value in columns

    Thanks Squiggler, its working perfectly :-)

  5. #5
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    re: Finding maximum value in a range:highest value in columns

    Since there are 3 x 1 and 3 x 2 mode would return 1, rather than the requested maximum value of 2!

  6. #6
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    re: Finding maximum value in a range:highest value in columns

    true, I missed that

  7. #7
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    re: Finding maximum value in a range:highest value in columns

    I wasnt happy with the first formula, I dont like too many references to the same cells so here is attempt 2 which cuts it from 5 references to 2!

    =SUMPRODUCT(MODE(LARGE(I6:L6,ROW(INDIRECT("1:"&COUNT(I6:L6))))))

    or

    =MODE(LARGE(I6:L6,ROW(INDIRECT("1:"&COUNT(I6:L6)))))

    the second to be entered with CTRL-SHIFT-ENTER!

  8. #8
    Registered User
    Join Date
    02-28-2010
    Location
    Bangalore, INDIA
    MS-Off Ver
    Excel 2007
    Posts
    28

    re: Finding maximum value in a range:highest value in columns

    With Regards
    Last edited by venu_creative; 05-11-2010 at 05:00 AM. Reason: Mistakenly posted on other post

+ 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