简体   繁体   English

可以使用条件格式设置来更改内容,而不仅仅是单元格的格式吗?

[英]Possible to use Conditional Formatting to change contents and not only the format of the cell?

I would like to apply the following rule using Conditional Formatting: 我想使用条件格式应用以下规则:

=IF($A1>1;NA();$A1) 

Whenever a cell is greater than 100% the value should change to #NA. 每当单元格大于100%时,该值应更改为#NA。

Applying the rule in: 在以下方面应用规则:

Conditional Formatting => New Rule... => Use a formula to determine which cells to format => Format values where this formula is true: 条件格式 => 新规则... => 使用公式来确定要格式化的单元格 => 在此公式为真的情况下格式化值:

does not produce the desired output. 无法产生所需的输出。

Is it possible to achieve the desired output using Conditional Formatting in some other way? 是否可以通过其他方式使用条件格式来获得所需的输出?

Using the formula in another column and referencing it is not an option. 在另一列中使用该公式并引用它不是一种选择。

Changing what you see on the worksheet is possible by using a CFR to change to a custom number format of \\#\\N\\/\\A when =$a1>1 . =$a1>1时,可以使用CFR更改为\\#\\N\\/\\A的自定义数字格式,从而更改在工作表上看到的内容。 This does not change the actual cell value; 这不会更改单元格的实际值。 only what you see. 只有你看到的。

在此处输入图片说明

暂无
暂无

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

相关问题 条件格式(如果上方和下方的单元格是数字,则仅格式化下方的单元格) - Conditional Formatting (If cell above and below is number, format only cell below) 使用条件格式根据单元格之前的值格式化单元格 - Use Conditional Formatting to format a cell based on the value of the cell before it 在 Excel 中使用条件格式仅在满足 2 个条件时设置单元格格式 - Using Conditional Formatting in Excel to only format the cell if 2 conditions are met 将条件格式应用于范围,但仅对条件为真的单元格进行格式化 - Apply Conditional Formatting to Range but Only Format Cell Where Condition Is True 是否可以使用条件格式来根据公式格式化多个列 - Is it possible to use conditional formatting to format multiple columns based on a formula 如果单元格值&lt;&gt;“”,则为条件格式(更改单元格颜色) - Conditional formatting (Change Cell Color) if cell value <> “” 以条件格式复制上一个单元格的格式 - Copy format of previous cell in conditional formatting 使用条件格式更改单元格颜色 - change cell color with conditional format 如何在单元格从日期中提取信息并与仅包含文本的单元格进行比较之间使用条件格式 - How to use Conditional Formatting between a cell pulling info from a date and comparign to a cell that includes only text 条件格式仅应用于范围的一个单元格 - Conditional formatting applied to only one cell of range
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM