Count specific words in a cell

lousydull

New Member
Joined
Aug 7, 2018
Messages
7
Hello All,

Can someone please help me how to count specific words in a single cell using formula? Example cell A1 "My computer works fine. I need formula that would count the words computer and works. ​Thanks
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
=IF(FIND("computer",C4)>1,1,0)+IF(FIND("works",C4)>1,1,0)

Thanks Steve!

Tested your formula and it works fine. Unfortunately I realized that it wasn't what I wanted to happen. Example in A1 texts are "3PT, COD, INS, DIM, TAC". I only want to count the text "3PT and COD" thus, it will only return "2" (count for 3PT & COD). The bottom line is regardless of what text I entered, it will only count the text I will specify in a function/formula.
 
Upvote 0
Welcome to the MrExcel board!

Unfortunately I realized that it wasn't what I wanted to happen. Example in A1 texts are "3PT, COD, INS, DIM, TAC". I only want to count the text "3PT and COD" thus, it will only return "2" (count for 3PT & COD). The bottom line is regardless of what text I entered, it will only count the text I will specify in a function/formula.
What you do want to happen is unclear to me. Can you give 4 or 5 examples instead of just one, and the expected result(s) for those examples, and explain again in relation to those examples?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
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