Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conditional Formatting - Contains a Value??

Status
Not open for further replies.

CadDraftee

Mechanical
Joined
Sep 16, 2003
Messages
48
Location
AU
Hi,

I want to set up a conditional format, i currently have one setup as "equal to" but wish to change it to "Contains" but that doesn't appear to be an option in the drop down.

Can anyone help??

Thanks in Advance
Mel
 
Use the "formula is" option in conditional formatting with the formula being:

=IF(ISERR(FIND("test",A1))=TRUE,FALSE(),TRUE())

Where you want to see if cell A1 contains "test"

The search function should also work, one is case sensitive, the other is not.
 
If not already answered by MintJulep, what do you mean by 'contains'? What is the container? What are the properties of the value you'd like to check?

Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
 
Along the lines of MintJuleps suggestion...

If all you need to know is whether or not the cell contains anything (text, number, formula) or if it is blank, then use the "formula is" option and type in the following formula:

=IF(ISBLANK(A1)=TRUE,FALSE(),TRUE())

InspEngr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top