简体   繁体   English

基于数字和符号的条件格式

[英]Conditional formatting based on number and symbol

This is an odd question. 这是一个奇怪的问题。 I have an issue I need to highlight a cell based on value, but it has a symbol in it and I cNt remove the symbol. 我有一个问题,我需要根据值突出显示一个单元格,但是其中有一个符号,并且我将其删除。

Value ranges are 1+ 3+ 5+ etc.. 值范围是1+ 3+ 5+等。

Need to highlight for each series higher than 1 but less than 3. Higher than 3 but less than 7. Etc... 需要突出显示每个系列的值大于1但小于3。大于3但小于7。等等。

Hope that makes sense. 希望有道理。 Thanks Casey 谢谢凯西

You should still be able to evaluate the number with the symbol after it, Excel should treat it as text where 1+ is still less than 3+ or 5+ is greather than 3+. 您仍然应该能够在其后加上符号来评估数字,Excel应该将其视为文本,其中1+仍小于3+或5+大于3+。

In your conditional formatting the rule would look something like this; 在您的条件格式中,规则看起来像这样:

Cell Value <= $D$1

Where $D$1 is your selectable list which i'm assuming is possibly a validation list. 其中$D$1是您的可选列表,我假设这可能是一个验证列表。

The format for the condition is whichever color you want it to highlight, and the Applies to part of the condition would be the range that you want to check against ie =$A:$A where all the 1+,3+,5+ numbers are. 条件的格式是您要突出显示的任何颜色,并且“ Applies to条件”部分将是您要检查的范围,即=$A:$A其中所有1 +,3 +,5 +编号是。

This doesn't get you the whole answer but it should point you in the direction of setting your conditional formats. 这并不能为您提供完整的答案,但可以为您指明条件格式的方向。

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

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