ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   TEXT(F2 "0,0") displays 1 as 01, & how to bold and underline in TE (https://www.excelbanter.com/excel-discussion-misc-queries/251845-text-f2-0-0-displays-1-01-how-bold-underline-te.html)

Gary

TEXT(F2 "0,0") displays 1 as 01, & how to bold and underline in TE
 
I understand the TEXT function, however when I format it as TEXT(F19,"0,0"),
I get 1,000, displayed correctly. Also 10 thru 999 displays correctly, but 1
displays as 01, 2 as 02. Can I suppress the zero in single digit numbers?
Also, is it possible to bold and underline within a TEXT function?

David Biddulph[_2_]

TEXT(F2 "0,0") displays 1 as 01, & how to bold and underline in TE
 
=TEXT(F19,"#,0")
and, no, you can't format within the TEXT function.
--
David Biddulph

"Gary" wrote in message
...
I understand the TEXT function, however when I format it as
TEXT(F19,"0,0"),
I get 1,000, displayed correctly. Also 10 thru 999 displays correctly, but
1
displays as 01, 2 as 02. Can I suppress the zero in single digit numbers?
Also, is it possible to bold and underline within a TEXT function?




Gord Dibben

TEXT(F2 "0,0") displays 1 as 01, & how to bold and underline in TE
 
=TEXT(F19,"#,0")

No, you cannot bold and underline within a TEXT function.


Gord Dibben MS Excel MVP


On Fri, 25 Dec 2009 10:26:01 -0800, Gary
wrote:

I understand the TEXT function, however when I format it as TEXT(F19,"0,0"),
I get 1,000, displayed correctly. Also 10 thru 999 displays correctly, but 1
displays as 01, 2 as 02. Can I suppress the zero in single digit numbers?
Also, is it possible to bold and underline within a TEXT function?



Ron Rosenfeld

TEXT(F2 "0,0") displays 1 as 01, & how to bold and underline in TE
 
On Fri, 25 Dec 2009 10:26:01 -0800, Gary
wrote:

Also, is it possible to bold and underline within a TEXT function?


No. But more particulars might help solve your problem.

You can bold and underline the entire cell either as a "hard" format or with
conditional formatting.

You can also put an equivalent of your TEXT function into a VBA Macro, and then
bold/underline a portion of the text string that you would have your macro
write to the cell.
--ron


All times are GMT +1. The time now is 10:15 PM.

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