简体   繁体   中英

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.

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 . This does not change the actual cell value; only what you see.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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