+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Mode formula

  1. #1
    Registered User
    Join Date
    04-03-2012
    Location
    Texas, USA
    MS-Off Ver
    Excel 2007
    Posts
    1

    Mode formula

    Am using Excel to count ballots for a car show. I have a series of numbers in each of several categories.

    Mode tells me which car got the most votes for first place in each category.

    Once I find the number that occurs most often using mode formula, is there a formula to find the number that occurs second most often. Only thing I can do right now is delete the number that occurs most often from the series until I see the mode change in each category. Only then can I identify the one that occurs second most often to award a second place trophy.

    Current mode formula also does not let me know when there is a tie. It goes automatically to the first "mode" in the series.

    There's got to be a simpler way.
    Thanks

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Mode formula

    Hi JKee, welcome to the forum.

    Rather than using MODE to find the most repeated value, perhaps consider using COUNTIF to determine the count of each numeric response. Then use the LARGE function to return the first, second, third, etc. largest values. If you need to break ties you could also take a look at this: http://www.contextures.com/excel-functions-rank.html (specifically the Breaking Ties section).

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Mode formula

    You could show values in descending order of appearances like this, assuming the data is in A2:A100

    Put this formula in C2

    =MODE(A2:A100)

    Now in C3 use this formula

    =MODE(IF(COUNTIF(C$2:C2,A$2:A$100)=0,A$2:A$100))

    that's an array formula that needs to be entered with CTRL+SHIFT+ENTER

    copy down as far as required

    You can use a COUNTIF in the adjacent column to see the number of occurrences of each
    Audere est facere

+ 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