ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Can you change a format WITHIN a formula? (https://www.excelbanter.com/excel-worksheet-functions/157522-can-you-change-format-within-formula.html)

[email protected]

Can you change a format WITHIN a formula?
 
I know I can use multiple font colors within a single cell, but is it
possible to use a formula to generate multiple colors within the same
cell?

Excel will accept the following formula, but does not render the
colors:
=TEXT("Red","[red]")&" and "&TEXT("blue","[blue]")

I may be using the wrong function, but I thought I had seen something
like this in the past.

Thanks for your help.
Pete


Gary''s Student

Can you change a format WITHIN a formula?
 
no
--
Gary''s Student - gsnu200743


" wrote:

I know I can use multiple font colors within a single cell, but is it
possible to use a formula to generate multiple colors within the same
cell?

Excel will accept the following formula, but does not render the
colors:
=TEXT("Red","[red]")&" and "&TEXT("blue","[blue]")

I may be using the wrong function, but I thought I had seen something
like this in the past.

Thanks for your help.
Pete




All times are GMT +1. The time now is 12:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com