简体   繁体   中英

How to Fill Specific Cell in a Column Using Conditional Formatting

On my $A:$A, I currently have a dropdown list of "Yes" and "No".

For Example:

A1 = Yes then Fill B1 with black
A7 = No  then Fill B7 with Green

If Yes then Black
If No  then Green

I know that formula below can be used in a specific cell only. How can we add a conditional formatting in an entire column B based on the the value of the cell in Column A?

=$A$1 <> "Yes"   -> B1 Conditional formatting

You pretty much have it.

在此处输入图片说明

  1. Select column B
  2. Add a conditional formatting rule
  3. Select "Use a formula to determine which cell to format"
  4. Enter:
    =A1 <> "Yes"
    Note that it does not include the "$" before the "1". Omitting the "$" makes the reference relative, so it'll fill down much like a formula in the spreadsheet itself.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM