cell formulas for a certain color

TBorland

Board Regular
Joined
Dec 3, 2011
Messages
209
Hi All,

What procedure would i need to use to achieve the following

Sheet1 has 300 cells which all use a drop down box which can display either a A or B from the list...If A or B are not selected the cell remains empty....
1. How can i on Sheet2 in the same 300 cells as Sheet1 have a colour displayed depending on whether A , B or Empty Cell are selected on Sheet1....If A from drop down box list is selected on Sheet1 in cell A3 what formulas would i use in Sheet2 to display a Blue Coloured A3 Cell.If B is used on Sheet1 in cell A3 again how do i display the colour Yellow in the Sheet2 cell A3 and finally if neither A and B are selected in Sheet1 the same numbered cell in Sheet2 remains empty (white)

Much appreciated

Tborland
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Highlight all the desired cells in sheet 2. Use conditional formatting, "use a formula to determine which cells to format". You'll probably need to two formulas, one for =isblank(sheet1!a3); and another for =if(sheet1!a3="A",1,0).

Hope this puts you in the right direction! Depending on which version of excel you have, the steps may vary... Use excels built-in help and it should be straightforward.
 
Upvote 0
Hi pplstuff,
Thanks
I had a A in Sheet1 cell A3
I used =if(sheet1!a3="A",1,0) and it worked except it place a 1 in the cell instead of a colour.Did i miss something
TBorland
Excel 2010
 
Upvote 0
Hi pplstuff,
Thanks
I had a A in Sheet1 cell A3
I used =if(sheet1!a3="A",1,0) and it worked except it place a 1 in the cell instead of a colour.Did i miss something
TBorland
Excel 2010
You are not supposed to put the formula in a cell... you are supposed to put it in the Conditional Formatting dialog box. I don't have XL2010; but in XL2007, the button that brings up the Conditional Formatting dialog box is located on the Styles panel for the Home tab... hopefully that will lead you to it on your own version of Excel.
 
Upvote 0

Forum statistics

Threads
1,211,456
Messages
6,101,954
Members
447,765
Latest member
bhutta5437

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