conditional formatting -

crave4excel

New Member
Joined
Feb 2, 2012
Messages
45
Hello!
I'm hoping someone can advise me how to create a condition format for the following:

If the text of a certain cell equals to "apple", or "oranges", then the cell would be highlighted yellow. I've tried to use the "Use a formula to determine which cells to format", but i can't seem to get the OR formula to work.

Thank you!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
use

or(cell="apples", cell="oranges")
where cell is the first cell in the range you are testing

What is the range of cells you want to conditional format and what is the cell

ie is it
A2 to A200
and the cell is in A2 onwards
 
Upvote 0
Excel Workbook
A
1apples
2oranges
3lemons
4fruit
5oranges
6lemons
7fruit
8apples
9oranges
10lemons
11oranges
12lemons
13fruit
14oranges
15lemons
16fruit
17apples
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A11. / Formula is =OR(A1="apples", A1="oranges")Abc
A21. / Formula is =OR(A1="apples", A1="oranges")Abc
A31. / Formula is =OR(A1="apples", A1="oranges")Abc
A41. / Formula is =OR(A1="apples", A1="oranges")Abc
A51. / Formula is =OR(A1="apples", A1="oranges")Abc
A61. / Formula is =OR(A1="apples", A1="oranges")Abc
A71. / Formula is =OR(A1="apples", A1="oranges")Abc
A81. / Formula is =OR(A1="apples", A1="oranges")Abc
A91. / Formula is =OR(A1="apples", A1="oranges")Abc
A101. / Formula is =OR(A1="apples", A1="oranges")Abc
A111. / Formula is =OR(A1="apples", A1="oranges")Abc
A121. / Formula is =OR(A1="apples", A1="oranges")Abc
A131. / Formula is =OR(A1="apples", A1="oranges")Abc
A141. / Formula is =OR(A1="apples", A1="oranges")Abc
A151. / Formula is =OR(A1="apples", A1="oranges")Abc
A161. / Formula is =OR(A1="apples", A1="oranges")Abc
A171. / Formula is =OR(A1="apples", A1="oranges")Abc
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,315
Members
452,634
Latest member
cpostell

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