Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple colors in Excel Cell?

Status
Not open for further replies.

hoganator

Programmer
Mar 28, 2001
3
US
It is possible to select a portion of text in the formula bar and select a certain color, and then select a different portion of text in the same cell to select a different color, for example:

This is the first, and this is the other part, and yet another.

That can be viewed in the same cell, colors and all.
However, my question is: Can i do this with a formula? such as in using the concatenate function, or something else?

I know a little of custom formatting, but I can't quite seem to get that to work right with strings.

Any help would be much appreciated.
 
No you can't, not with formulas.

You would have do something with macros to this kind of thing.

Sorry, Glenn.
 
OK, well what about with formatting? Can you say i want this cell to be formatted with such and such number of characters as this color, and then the rest as this color? Or, can you choose only one color per cell that way as well?
 
This can be done with formatting very easily, just select the part of the cell you want to format and go to format cells as usual.

You can also have parts bold, different sized fonts or whatever you want in the same way.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top