Find Text in a cell

smak

New Member
Joined
Mar 18, 2022
Messages
32
Office Version
  1. 2010
Platform
  1. Windows
I have a sheet that has cells with lots of text. I want to search the cell and see if the text exists.

Below is the type of data I have. For reference, assume this is columns A and B and row 1(header) and 2 (text I need to search)

I used Countif to search for "*active" in the range below and it found it. I realize that "*Active" is the only thing in its respective cell.

But if I search for the word "Project" in the same range, it does not find it. I suspect it is because "Project" is part of a cell that has a lot of text.

How do I search the range for the word "Project" to see if it is there. I am hoping to do a formula.

..................... A................................................................B
Project_Statusmilestones
• ActiveProject Started : 03/16/2023 - 03/16/2023
Initiation : 03/16/2023 - 03/20/2023
Testing (ITE) : 03/16/2023 - 01/01/2024
Planning and Scoping : 03/21/2023 - 04/03/2023
Design : 04/04/2023 - 05/25/2023
Implementation (PROD) : 04/14/2023 - 08/26/2024
Closeout : 08/27/2024 - 08/30/2024
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
You can use wildcards in countifs like
Excel Formula:
=COUNTIFS(B:B,"*project*")
 
Upvote 0
That worked.

I have a second part to the question. if in cell C5 there is a word/text (for this example it is the word "Closeout").

I want to do the countif/Search with the value of the cell C5. How do I search for the cell value
 
Upvote 0
Like
Excel Formula:
=COUNTIFS(B:B,"*"&C5&"*")
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,212
Messages
6,123,655
Members
449,113
Latest member
Hochanz

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