【问题标题】:How to color the cell to the left, comparing columns in excel如何为左侧的单元格着色,比较excel中的列
【发布时间】:2018-10-20 21:23:05
【问题描述】:

如果左侧列中的单元格小于、等于或大于,我想在 Excel 中编写条件格式规则来为单元格着色(红色、黄色、绿色)。有颜色的应该只有列LO

如何为LO 两列编写一个公式?

【问题讨论】:

  • 您需要三个公式(一个代表小于,一个代表等于,一个代表大于),然后将其应用于LO 列,不是吗?你试过什么?

标签: excel formatting conditional


【解决方案1】:

为了快速帮助您:

选择L列并添加这三个条件(作为公式)

=$L1<$K1 'This should be conditionally formatted as green
=$L1=$K1 'This should be conditionally formatted as yellow
=$L1>$K1 'This should be conditionally formatted as red

对 O 列执行相同操作

=$O1<$N1 'This should be conditionally formatted as green
=$O1=$N1 'This should be conditionally formatted as yellow
=$O1>$N1 'This should be conditionally formatted as red

问候,扬

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-05-29
    • 2013-11-29
    • 2011-08-19
    • 1970-01-01
    • 2014-07-31
    • 2011-08-17
    相关资源
    最近更新 更多