Hi,
So there are formulas out there that enable us to find "how many of a certain text occurs within a range or even a single cell":
An array:
{=SUM(LEN(<range>)-LEN(SUBSTITUTE(<range>,"actual text or cell containing text","")))/LEN("actual text or cell containing text")}
Is there a formula however, that enables us to find "what text occurs most frequently within a range or single cell"?
Example:
Find the string with the most occurences in this range:
Column A (Ranges A1:A4):
People love Disneyland because they love their characters. My kid loves playing in Tommorowland. Love is patient, love is kind. Mickey and Minne have found true love.
Using the array formula above, I can tell the # of times the word "love" is used in the range of cells.
{=SUM(LEN(A1:A4)-LEN(SUBSTITUTE(A1:A4,"love","")))/LEN("love")}
(Unfortunately, the formula above doesn't recognize the text "love" if it's not an exact match i.e. uppercase ("Love") or ("love." or "loves") so it only returns 3 instead of 6; but that's another story - unless of course someone here may know how to get around this).
My question is, is there a formula that would be able to give me an output that tells me that "love" is the most used text/value in this range of cells?
Any info would be real helpful, thank you.
Bookmarks