Try to find a function

Mecheltheka

New Member
Joined
Aug 15, 2020
Messages
21
Office Version
  1. 2007
Platform
  1. Windows
Good morning,

Let's say that there are 10 rows and 1 column in a table and i want to find a word in this table. So, i would like to find a function, in order to scan the whole table and finally to return "true" if this word exist or to return "false" if the word doesn't exist. I don't care about the name of this cell.

Postscript: I tried something, like this: ISNUMBER(SEARCH("Text",B21:B31)), but it doesn't work!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
How about
Excel Formula:
=IF(COUNTIF(B21:B31,"Text"),"True","False")
 
Upvote 0
Like
Excel Formula:
=IF(COUNTIF(B21:B31,"*George*"),"True","False")
 
Upvote 0
You didn't say it was a partial match in your 1st post...
Excel Formula:
=IF(COUNTIF(B21:B31,"*George*"),"True","False")
 
Upvote 0
Is there any case that the excel does not recognize the character "*" ???

For example: My function is: =COUNTIF(B1020:B1023,"*George*"
If the content of the cell B1020 is "My name is George", then the function countif does not return "1" . But, if the content of the cell B1020 is "My name is *George*, then the function countif return "1". It doesn' t recognize the "*"
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,215
Members
448,554
Latest member
Gleisner2

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