Find The Most Frequent Occurring Text In A Column

Shukis7

New Member
Joined
Dec 14, 2021
Messages
22
Office Version
  1. 365
Platform
  1. Windows
Hi,

I want to find the most frequent occurring text in a column with multiple criteria. I know how to do this for simple criteria, but when I have to use the date criteria it gets complicated.

This is working for these two criteria that I implemented.
=INDEX(All!$G$2:$G$119285,MODE(IF(All!$F$2:$F$119285 = Analysis!A4,IF(All!$AO$2:$AO$119285 = Analysis!$A$2,MATCH(All!$G$2:$G$119285,All!$G$2:$G$119285,0)))))

This is the formula that I use for finding the most occurring text in a column, with the date range as criteria:
=INDEX(All!$G$2:$G$119285, MATCH(MODE.SNGL(IF((All!$AY$2:$AY$119285<=$A$12)*(All!$AY$2:$AY$119285>=$A$11), COUNTIF(All!$G$2:$G$119285, "<"&All!$G$2:$G$119285), "")), COUNTIF(All!$G$2:$G$119285, "<"&All!$G$2:$G$119285),0))

Both of them are working fine, but I have trouble "combining" these two.

Any help would be appreciated.

Thank you!
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Can you post some sample data from both sheets, along with expected results?

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
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