Conditional Format Formula Issue for Coloring Cell

KuraiChikara

Board Regular
Joined
Nov 16, 2016
Messages
111
Office Version
  1. 2013
Platform
  1. Windows
Hello,
I don't use the "use a formula to determine which cells to format" functionality much in Conditional Formatting in Excel but I have a problem where it will help me.

Issue:
I think my problem is relatively simple but I don't know how to do it.
In cell A1 there is a word, say "Apples" and whatever name is put in cell B1, if A1 has the word "Apples" in it, then B1 would be highlighted RED.

Subsequently, if I changed the fruit in A1 to something else, I would eventually want to assign different colours to them which would be reflected in B1 IE: Bananas in A1= a B1 highlight to YELLOW, Pears in A1 = a B1 highlight to GREEN.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hi,

Use the same formula for each condition and color, change Apples to Bananas, Pears, Oranges or whatever you need:

Book3.xlsx
AB
6some apples
Sheet829
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B6Expression=COUNTIF(A6,"*apples*")textNO
 
Upvote 0
You're welcome, thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,588
Messages
6,120,412
Members
448,960
Latest member
AKSMITH

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