Top 10 most common TEXT

Cooki

Board Regular
Joined
Jul 31, 2018
Messages
86
Hi all i want to be able to find the 10 top most common cells.

I can find the top most common with this
=INDEX($D$3:$D$35,MODE(IF($D$3:$D$35<>"",MATCH($D$3:$D$35,$D$3:$D$35,0))))

Second most common with this
=INDEX($D$3:$D$35,MATCH(LARGE(COUNTIF($D$3:$D$35,$D$3:$D$35),MAX(COUNTIF($D$3:$D$35,$D$3:$D$35))+1),COUNTIF($D$3:$D$35,$D$3:$D$35),0))

but can find the rest.

Would someone be able to help and if possible to have a formula that you only increase a number to find the next most common?

TIA
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Please try at F3
=INDEX($D$3:$D$35,MODE(IF(ISNA(MATCH($D$3:$D$35,F2:F2,)),MATCH($D$3:$D$35,$D$3:$D$35,0))))

Confirm by Ctrl+Shift+Enter
 
Upvote 0
Please try at F3
=INDEX($D$3:$D$35,MODE(IF(ISNA(MATCH($D$3:$D$35,F2:F2,)),MATCH($D$3:$D$35,$D$3:$D$35,0))))

Confirm by Ctrl+Shift+Enter
Im getting N/A

Is anything meant to be in F2, as you have used it as an array?

I have pushed ctrl+shift+enter
 
Upvote 0
There are blank cells

=INDEX($D$3:$D$35,MODE(IF($D$3:$D$35<>"",IF(ISNA(MATCH($D$3:$D$35,F$2:F2,)),MATCH($D$3:$D$35,$D$3:$D$35,0)))))
 
Upvote 0
There are blank cells

=INDEX($D$3:$D$35,MODE(IF($D$3:$D$35<>"",IF(ISNA(MATCH($D$3:$D$35,F$2:F2,)),MATCH($D$3:$D$35,$D$3:$D$35,0)))))

Works spot on.

As an added extra is there a wanted to get the corresponding column if i curround it with Offset that should work
 
Upvote 0

Forum statistics

Threads
1,223,162
Messages
6,170,432
Members
452,326
Latest member
johnshaji

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