简体   繁体   English

Excel 基于另一个单元格的条件格式

[英]Excel Conditional Formatting Based on Another Cell

I am trying to make an excel-sheet for the university, where every course for each season is listed, and whenever a grade in a specific range is entered, the corresponding rows (season, course, ECTS and Grade) needs to be highlighted in green.我正在尝试为大学制作一个 excel 表,其中列出了每个季节的每门课程,并且每当输入特定范围内的成绩时,需要突出显示相应的行(季节、课程、ECTS 和成绩)绿色的。

The range is范围是

1 ≤ Grade < 5 1 ≤ 等级 < 5

So far I have tried the following formula, which results in an error:到目前为止,我已经尝试了以下公式,但会导致错误:

=AND($D2 >= 1, $D2 < 5)

This is how the sheet looks like:这是工作表的样子:

现在的样子

Error:错误:

在此处输入图像描述

使用的公式

格式管理器

If your excel is in German, have you tried using "UND" instead of "AND"?如果您的 excel 是德语,您是否尝试过使用“UND”而不是“AND”?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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