基于其他列的Excel条件格式 [英] Excel Conditional Formatting based on Other Column

查看:342
本文介绍了基于其他列的Excel条件格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Excel中有两列,如下图所示。

I have two columns in Excel as shown on the picture below.

我需要以这种方式应用条件格式:

I need to apply conditional formatting in this way:

如果B列中的行包含1,则同一行应该改变它的颜色。这需要仅适用于A列中的单元格,而不是整行。有什么选择吗?

if row in B column contain "1", the cell A on the same row should change its color. This needs to be applied only for the cell in A column, not whole row. Is there any option how to do this?

推荐答案

按照以下步骤,您的问题将被解决;)

Follow these steps and your problem will be solved ;)


  1. 将公式设置为 = $ B2 = 1

  2. 选择填充颜色黄色

  3. 适用于 = $ A $ 2:$ A $ 7

  4. 单击应用后,确保您的公式未更改! (总是在我身上)

  1. Set your formula to =$B2=1
  2. Select the fill color Yellow
  3. Applies to =$A$2:$A$7
  4. Once you click Apply, make sure your formula hasn't changed! (always happens to me)

这篇关于基于其他列的Excel条件格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆