问题
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