Conditional formatting

Tomo

Board Regular
Joined
Dec 27, 2009
Messages
199
Hi Using Excel 2003

I want to make a cell change colour if it meets with one on the following

if it contains the word "fred" of "harry"

The limits of 2003 are three conditional per page and the other two are used so need to have this in one rule any help thanks
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Try something like this where cell A1, in this example, is the cell with the data.

Formula is =OR(ISNUMBER(SEARCH(A1,"Fred")), ISNUMBER(SEARCH(A1,"Harry")))
 
Upvote 0
Hi Using Excel 2003

I want to make a cell change colour if it meets with one on the following

if it contains the word "fred" of "harry"

The limits of 2003 are three conditional per page and the other two are used so need to have this in one rule any help thanks
Will "fred" or "harry" be the only word in the cell or will there be other words including "fred" or "harry"?
 
Upvote 0
Other words will be in the cell the exact list are as follows and it is to cover a range of cells from a1 to s50

"OK" will colour it green
"OVERDUE" will colour it red
"REMINDER" OR "BOOK NOW" needs to be in yellow

it is the third one i am have difficulty with due to the limitations of excel 2003
 
Upvote 0
=A1="ok" ----- format green
=A1="overdue" ---- format red
=or(isnumber(search("reminder",A1)),isnumber(search("book now",A1))) -- format yellow

then click A1 and copy --- highlight A1:S50 -- paste special / click formats and ok
 
Upvote 0
=A1="ok" ----- format green
=A1="overdue" ---- format red
=or(isnumber(search("reminder",A1)),isnumber(search("book now",A1))) -- format yellow
Another way to write the longer formula:
=COUNTIF(A1,"*reminder*")+COUNTIF(A1,"*book now*")
 
Upvote 0

Forum statistics

Threads
1,224,598
Messages
6,179,814
Members
452,945
Latest member
Bib195

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