ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   # in Function (https://www.excelbanter.com/excel-worksheet-functions/97297-function.html)

CIL

# in Function
 
Top of the morning.
The below function inserts a space between the last 2 digits of a number.

6789 in a1 becomes 678 9 and aligns on the left of the cell (text).
=TEXT(A1,"#"" ""0")

Now for the dumb question, what does the "#" do and where could I find this
tidbit of information?

Thanks.
cil






[email protected]

# in Function
 
Hello,

Open Excel help, go to answer wizard, type "number format codes",
select that and go to "Decimal places, spaces, colors, and conditions".

HTH,
Bernd

Excel 2002


Marcelo

# in Function
 
Hi,
try to use

=text(c2,"#000 0")

hth
regards from Brazil
Marcelo

"CIL" escreveu:

Top of the morning.
The below function inserts a space between the last 2 digits of a number.

6789 in a1 becomes 678 9 and aligns on the left of the cell (text).
=TEXT(A1,"#"" ""0")

Now for the dumb question, what does the "#" do and where could I find this
tidbit of information?

Thanks.
cil







Marcelo

# in Function
 
hi better one

=text(c2,"#### #")

"Marcelo" escreveu:

Hi,
try to use

=text(c2,"#000 0")

hth
regards from Brazil
Marcelo

"CIL" escreveu:

Top of the morning.
The below function inserts a space between the last 2 digits of a number.

6789 in a1 becomes 678 9 and aligns on the left of the cell (text).
=TEXT(A1,"#"" ""0")

Now for the dumb question, what does the "#" do and where could I find this
tidbit of information?

Thanks.
cil







CIL

# in Function
 
Got it,
Thanks
wrote in message
oups.com...
Hello,

Open Excel help, go to answer wizard, type "number format codes",
select that and go to "Decimal places, spaces, colors, and conditions".

HTH,
Bernd

Excel 2002





All times are GMT +1. The time now is 05:26 AM.

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