Formatting lost when linked to text

Boniouk

Board Regular
Joined
Aug 2, 2013
Messages
166
So whilst the answer may be complicated, the problem is pretty simple...

I have a cell (A1) with a value, such as -2%.

The cell is formatted and will show underlined, red and bold.

I then have another cell with this formula. ="The latest week result is "&A1

but my result shows as...

The latest week result is -1.989877434%


Is there anyway to format that section to make sure its also red, bold, underlined and decimal places?
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
I'm pretty sure its not the fact that you are linking to a cell and adding text that's defeating your formatting.

You might create a CF rule that says if A1 <0 then add a bold, underlined red font to this cell
 
Upvote 0
I cannot use CF when highlighting my new cell. Also, I don't want the whole cell including text formatted. Just the result at the end of the text string.
 
Upvote 0
closest I could come to it

Custom Format

"The latest week result is "#,##0%;[Red]"The latest week result is" -#,##0%

Maybe two cells close together, one with text and the other with the formatted value
 
Upvote 0
Thanks Mole, that's pretty close. To be honest don't think it's possible to do what I need.

I wanted it all within one string so that the cell could be referenced in a text box. That way, the automation from result, to text to text box means the text box can be copied and pasted each week into a powerpoint pack. Automating the conditional formatting from a cell into a text string and then into a textbox, all whilst keeping formatting does appear to be.... impossible.
 
Upvote 0
issues with formats being copied out, only reproducible way that works was to copy to word from excel in the past for me
 
Upvote 0

Forum statistics

Threads
1,214,414
Messages
6,119,375
Members
448,888
Latest member
Arle8907

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top