Change color of cell depending of data within another cell

levanoj

Active Member
Joined
Oct 25, 2007
Messages
310
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

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

James_Latimer

Active Member
Joined
Jan 20, 2009
Messages
415
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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,732
Messages
5,833,377
Members
430,206
Latest member
Sami Gaid

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
Top