简体   繁体   中英

How to change the formatting and Text of a cell based on their values. (Conditional Formatting)

Hi I want to change the Fill color and text of the cell based on its value. Let's say I have the below values.

在此处输入图片说明

And I want to make it like this.

在此处输入图片说明

For me the fill colors would be just easy because I will just do the Conditional formatting. However the text is making it hard. How can I change the cell values into Text like the example above. Thanks.

Create your conditional formatting rule(s) for the colors then tap ctrl+1 and apply the following custom number format.

[>10]\G\r\e\at\e\r 1\0;[<=10]L\e\s\s 1\0

You could put that in the CFR along with the color fill change instead if you want to keep all changes in one place.

Note that you haven't changed the cells' values. =SUM(Z:Z) still equals 61.

在此处输入图片说明

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