ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   If a range contains (https://www.excelbanter.com/excel-worksheet-functions/244306-if-range-contains.html)

Caroline

If a range contains
 
I'm trying to write a logical test that means: if (any cell in range a:a)
contains "the word text", then... I have the values part down, I only need
this logical test.
Thanks,
Caroline



Jacob Skaria

If a range contains
 
=IF(COUNTIF(A:A,"*the word text*"),"text found","Text not found")

If this post helps click Yes
---------------
Jacob Skaria


"Caroline" wrote:

I'm trying to write a logical test that means: if (any cell in range a:a)
contains "the word text", then... I have the values part down, I only need
this logical test.
Thanks,
Caroline




All times are GMT +1. The time now is 03:35 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com