根据多个条件应用条件格式 [英] Apply Conditional Formatting based on multiple conditions

查看:90
本文介绍了根据多个条件应用条件格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果工作类型等于(空白),并且单元格本身大于15%,则我尝试基于两个条件突出显示一个单元格,然后我要突出显示%Total Work下的单元格。我的工作表如下所示:

I'm attempting to highlight a cell based on two conditions, if the Work Type is equal to (blank), and if the cell itself is greater than 15%, then I want the cell under % Total Work highlighted. My sheet looks like this:

我唯一想到的方法是使用AND函数,例如 = AND($ B:$ B =(空白); $ D:$ D> .15),但这会产生错误。我对条件格式非常陌生,因此可能缺少明显的东西。我正在使用Excel 2010。

The only way I can think to do this is using the AND function, something like =AND($B:$B="(blank)";$D:$D>.15), but this produces an error. I'm very new to conditional formatting, so I may be missing something obvious. I'm using Excel 2010.

推荐答案

您必须应用适用于范围中第一个单元格的公式,因此如果您选择范围 D8:D100 或类似范围(数据从第8行开始),然后以条件格式应用此公式

You have to apply the formula that applies to the first cell in the range, so if you select the range D8:D100 or similar (where data starts at row 8) then apply this formula in conditional formatting

= AND(B8 =(blank); D8> 0.15)

那应该做什么需要

这篇关于根据多个条件应用条件格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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