Use different fonts in same Excel cell?

人盡茶涼 提交于 2019-12-12 07:28:32

问题


Is there any way to change the color and/or font of specific text within an excel cell? That is, I'd like one part of the cell's displayed value to be red and another part of the same cell's displayed value to be blue (as an example). Since the displayed values are being calculated as formulas, I'd need some sort of formatting formula that would apply only the stuff inside the formula. I can't seem to find anything in the text.


回答1:


If you want to do this based on a formula, you will have to write some VBA. See this example




回答2:


No problem. Edit the value in the formula toolbar.




回答3:


Take a look at Conditional Formatting in excel.



来源:https://stackoverflow.com/questions/2109644/use-different-fonts-in-same-excel-cell

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