Change color of cell depending of data within another cell

levanoj

Active Member
Joined
Oct 25, 2007
Messages
311
Hello All,

Is there any formula I can write within a cell that will change the color of that cell depending on the value entered in another cell?

For example: If cell A1 on Sheet1 has a value of "Speed Dial" then color of cell B6 on Sheet2 changes to Yellow.

Anyone?
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Use the conditional formatting option on the cell that is to change colour.

Select cell -> format -> conditional format.

Change "Cell value is" to "Formula is"

Then in the box next to that put =$A$1="Speed Dial"

Set the colour that is to be used when A1 = Speed dial.

this is how to do it in excel 2003

hope this helps
 
Upvote 0

Forum statistics

Threads
1,216,130
Messages
6,129,062
Members
449,484
Latest member
khairianr

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