+ Reply to Thread
Results 1 to 2 of 2

Display most commonly occurring text, IF text occurs more than X times

  1. #1
    Registered User
    Join Date
    08-01-2014
    Location
    Toronto, Ontario
    MS-Off Ver
    2007
    Posts
    1

    Display most commonly occurring text, IF text occurs more than X times

    Hello,

    I'm fairly new to excel but I need to determine the formula to use to display the most commonly occurring text, but only if it occurs more than 3 times. If it does not occur more than 3 times, display text "balanced". We have 5 candidates, and I've been asked to design a formula that would determine whether or not the provincial origin of the 5 candidates is skewed (did most of the 5 candidates come from the same province and which province was it). I originally wanted a formula that displayed the most common text only (disregarding the number of times), but I ran into a problem whereby ON (for example) could occur the same number of times as QC. I've provided example below. Any ideas/solutions are welcome. Thanks!

    Candidate A Candidate B Candidate C Candidate D Candidate E
    ON ON ON QC QC

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Display most commonly occurring text, IF text occurs more than X times

    Hi and welcome to the forum!

    I'm still not sure you've resolved your issue of more than one string potentially occurring most frequently: why can't two different entries both occur more than three times? How to determine which one should be preferred in such a case?

    Also, could you clarify what the actual range is over which the check needs to be done?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

+ 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] Isolating text that occurs multiple times in a cell
    By williewoo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-15-2014, 08:02 PM
  2. Replies: 5
    Last Post: 10-17-2013, 08:03 PM
  3. [SOLVED] Average number of times a text string occurs
    By anguschap in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-04-2012, 08:22 PM
  4. [SOLVED] Count how many times a word occurs in a cell containing text
    By frisbie17 in forum Excel General
    Replies: 2
    Last Post: 08-01-2012, 02:31 PM
  5. [SOLVED] Count times a text string occurs
    By mistert in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-26-2012, 09:54 PM

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