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

倾然丶 夕夏残阳落幕 提交于 2020-01-13 06:10:38

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/52623080/how-to-change-the-formatting-and-text-of-a-cell-based-on-their-values-conditio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!