ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   number format (https://www.excelbanter.com/excel-worksheet-functions/18575-number-format.html)

Greg

number format
 
I am typing in telephone numbers to Excel. An example is 01253712345. Excel
removes the leading zero, however when I type in ' before the number, the 0
is displayed.
I want to run consecutive numbers, so type in +sum(a1+1) to give consecutive
numbers. However, the zero again disappears.

How can I apply a custom format to a cell that already contains a +sum
formula?

Thanks

Jason Morin

Replace your formula with:

=TEXT(A1+1,"0000000000")

HTH
Jason
Atlanta, GA

-----Original Message-----
I am typing in telephone numbers to Excel. An example

is 01253712345. Excel
removes the leading zero, however when I type in '

before the number, the 0
is displayed.
I want to run consecutive numbers, so type in +sum(a1+1)

to give consecutive
numbers. However, the zero again disappears.

How can I apply a custom format to a cell that already

contains a +sum
formula?

Thanks
.



All times are GMT +1. The time now is 11:18 PM.

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