• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Dynamic Conditional Formatting

Quesexcel

New Member
I am trying to figure out the best way to color cells in a specific column that correspond to and adjacent cell in another specific column. The columns come in in different order so the location is not always in the same place. I would like to have conditional formatting color in the values in the column "Des" red for each occurrence of the letter X in column Bes, and color the value green for each occurrence of y.
 

Attachments

  • upload.xlsx
    8.8 KB · Views: 4
Hii @Quesexcel ,

Try below formula

=IF(B2="X",TRUE(),FALSE())
=IF(B2="Y",TRUE(),FALSE())

Select D column range >
Go to contional formating > new rule > formula > paste formula > select formating >
> Ok



Regard
Rahul shewale
 
The IF function is implicit in CF as is the array formula), no need to use it
=$B2="X"
=$B2="Y"
for each format will suffice
 
Back
Top