Find the most frequent name within a range

DougStroud

Well-known Member
Joined
Aug 16, 2005
Messages
2,976
Office Version
  1. 365
Platform
  1. MacOS
I would like to find the most frequent name in a range; however, I think it is a little complicated.

To help make sense of this- this list contains names from an awards ceremony for writers, advertisers and photographers. I would like to see which photographer garnered the most wins.

The challenge is that sometimes the cells are combined with multiple names, a writer and a photographer's name. I don't know if that impacts the search...


Range: C1:C900 (contains multiple words, but the word picture or story are the key words)
Range: D1:D900 (Lists First, Second or Third Place)
Range: E1:E900 (contains the photographer's name but also could contain the writer's name)
 

Attachments

  • Screenshot 2024-05-07 at 4.11.34 PM.png
    Screenshot 2024-05-07 at 4.11.34 PM.png
    35.7 KB · Views: 17

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Do you have a list of photographers already? If not, how can you tell who is a photographer in the text string?
 
Upvote 0
Do you have a list of photographers already? If not, how can you tell who is a photographer in the text string?
There is a list of photographers. Initially I was thinking of using Index, Mode, Match but I think with some cells having two names in there it might not pick up the individual name. For example, there is the name Paige Diegle for an award but in a following cell there is Paige Diegle, Janice Ross.
 
Upvote 0
I have the list of photographers in H, adapt the ranges. Try:
Book1
CDEFGHI
1Pictorial PhotoFirst PlacePaige DinglerPaige Dingler1
2Slideshow or GallerlyFirst PlacePaige DinglerLee Luther, Jr.0
3Sports News PhotoFirst PlaceLee Luther, Jr.Justin Faulconer1
4StorySecond PlaceJustin FaulconerNicky Marshok2
5Horror StorySecond PlaceJudy Harbin, Nicky Marshok
6Pictorial PhotoFirst PlaceJudy Harbin, Nicky Marshok
Sheet6
Cell Formulas
RangeFormula
I1:I4I1=LET( c,ISNUMBER(SEARCH("pict",$C$1:$C$6))+ISNUMBER(SEARCH("story",$C$1:$C$6)), d,($D$1:$D$6="First Place")+($D$1:$D$6="Second Place")+($D$1:$D$6="Third Place"), e,ISNUMBER(SEARCH(H1,$E$1:$E$6)), IFERROR(ROWS(FILTER($C$1:$C$6,c*d*e)),0))
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top