Fill color in a cell

  • Thread starter Thread starter fastballfreddy
  • Start date Start date
F

fastballfreddy

Is it possible if one a cell equals, lets say "-" for another cell to be
filled with a certain color?

For example, there is a formula in A2 that produces "-" and D2:J2 fills
w/ the color black.

Is that even possible?

Thanks,
 
Hi!

Try this:

Select the range D2:J2
Goto Format>Conditional Formatting
Formula Is: =$A2="-"
Click the Format button
Select the Patterns tab
Select the desired color
OK out

Biff

"fastballfreddy"
 
Select D2:J2

Format>CF>Formula is:

=$A$2="-"

Important to have the $ signs to lock $A$2 as the trigger cell.

Format to a black pattern


Gord Dibben MS Excel MVP
 
Back
Top