How to use multiple conditional operators in a custom number format Excel?

一曲冷凌霜 提交于 2019-12-05 18:52:01

I think the solution, such as it is, lies in your choice of tag: Conditional Formatting. The custom formatting rules you refer to show research but seem not to meet your brother's requirement (eg $ cf ) so I am uncertain what exactly the content to be formatted is and am assuming these are number values.

Also that you will be able to convert for a locale that suits you, the requirement is for Windows, not OSX, negative numbers need not be considered and Euro cents are irrelevant.

HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::

=AND(A1>0,A1<1000000)

Format..., select Number tab, Category: Custom and:

"€ "#.0, " K"  

OK, OK. Then another formula rule:

=AND(A1>999999,A1<1000000000)  

with format:

"€ "#.0,, " M"  

and a third formula rule of:

=A1>999999999  

with format:

 "€ "#.0,,, " T"  

The order in which the rules are applied may be significant.

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