search text keywords and return count

PrashanthKumar123

New Member
Joined
May 1, 2021
Messages
38
hi - I have a list of keywords. I am looking for a formula that counts the number of matched keywords in each row of the input data. I've tried Search but running into issues.

For e.g.,

If keyword list is "Apple", "Ball, "Cat", "Family"

Row 1: Apple Devil Egg Person
Row 2: Success Right Wrong Sorry
Row 3: Hi Ball Family Hello

My output should be
Row 1: 1
Row 2: 0
Row 3: 2

Thanks in advance!
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
hi - thanks for the help! This doesn't seem to work. To clarify, this is my spreadsheet with the input, expected output and the keyword list.

InputExpected Output
Apple Devil Egg Person
1​
Success Right Wrong Sorry
0​
Hi Ball Family Hello
2​
Keywords
Apple
Ball
Cat
Family
 
Upvote 0
hi - I have a list of keywords. I am looking for a formula that counts the number of matched keywords in each row of the input data. I've tried Search but running into issues.

For e.g.,

If keyword list is "Apple", "Ball, "Cat", "Family"

Row 1: Apple Devil Egg Person
Row 2: Success Right Wrong Sorry
Row 3: Hi Ball Family Hello

My output should be
Row 1: 1
Row 2: 0
Row 3: 2

Thanks in advance!
is "Apple Devil Egg Person" in a single cell, say in A1, or 4 cells, say in A1:D1 ?
 
Upvote 0

Forum statistics

Threads
1,223,268
Messages
6,171,100
Members
452,379
Latest member
IainTru

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