Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Color change of a cell based on another cells info.

Status
Not open for further replies.

rnpIII

Technical User
May 2, 2001
61
US
Hello All,

I would like to know the easiest and possibly simplest way to make a cell change its' color based on another cells info.

The scenario is this:
Cell 1A must have a number in it in order for Cell 1B to allow input.
If a number is input into Cell 1B then it should change color, if Cell 1A has no number.

Any assistance will be greatly appreciated.

rnpIII
 
Hello mpIII,
I'm assuming you are using Excel.
Have you used "Conditional Formatting"?

This allows you to have a cell value or formatting be changed based on a condition.

Hope this helps,
MO
 
Hi StoryTeller,

I have been looking at all of the posts on conditional formatting and don't see how I can apply it to another cell based on a different cells info.

It seems it is based on one cell and one cell only.
If Cell 1A is 1 then do this. How could I tell Cell 1A to do "this" if Cell 1B has the correct info.

Oh, I am using Excel 2000 and am looking to apply the color change to color- fill the cell.

Thank you for your response.
rnpIII
 
mpIII,
The Conditional Formatting dialog box has the following fields:
<Cell Value> <condition> then the next field over is where you enter a criteria. Now do you see the small button at the right side of the field, the one with the little red arrow. Click on it then select the cell you want to refer to ($B$1) then click on the little red down arrow.

Hope this helps,
MO
 
AHA!

That is something I did not know you could do.
I will play with that and see if it will yield the response I need.

I appreciate your assistance.

rnpIII
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top