Part of formula result formating

gugi129

New Member
Joined
Dec 8, 2009
Messages
2
I would like to format part of cell, but in that cell is a formula...
e.g. ="sum is: "&SUM(A1:A10)

Result should have format like...
sum is: 10

Any idea, how to do this? Thanks a lot.
 

Some videos you may like

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.

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Sorry no, a macro would have to replace the formula with its value. A VBA function cannot change the formatting of a cell.
 

Watch MrExcel Video

Forum statistics

Threads
1,109,083
Messages
5,526,753
Members
409,717
Latest member
Oscarsalone

This Week's Hot Topics

Top