Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I asked earlier how to make a column display a two digit number instead of a
single digit number (under 10) by adding a zero in front. The answer was to hit custom and type in two zeros. The problem is the spreadsheet does display the 02 on the cell but if you click the cell it still reads ony the 2. This doesn't allow me to enter into access without errors. I have tried copy paste special but still does not resolve the issue. Any help would be appreciated. Bottom line I need to be able to place a 0 in front of all single digit numbers in a column. Thanks. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
As long as cells contain numbers, leading zeroes will not be stored in the
cell... You may convert them to text with soemthing like this in B1 =IF(Len(A1)=1, "0&A1",""&A1) and copying down, then copy-paste as values, assuming your numbers are in Col A Ideally you shuold handle this conversion while importing in Access. "Evil with a K" wrote: I asked earlier how to make a column display a two digit number instead of a single digit number (under 10) by adding a zero in front. The answer was to hit custom and type in two zeros. The problem is the spreadsheet does display the 02 on the cell but if you click the cell it still reads ony the 2. This doesn't allow me to enter into access without errors. I have tried copy paste special but still does not resolve the issue. Any help would be appreciated. Bottom line I need to be able to place a 0 in front of all single digit numbers in a column. Thanks. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=TEXT(A2,"00")
-- David Biddulph Evil with a K wrote: I asked earlier how to make a column display a two digit number instead of a single digit number (under 10) by adding a zero in front. The answer was to hit custom and type in two zeros. The problem is the spreadsheet does display the 02 on the cell but if you click the cell it still reads ony the 2. This doesn't allow me to enter into access without errors. I have tried copy paste special but still does not resolve the issue. Any help would be appreciated. Bottom line I need to be able to place a 0 in front of all single digit numbers in a column. Thanks. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
As you've discovered, number formatting is for *display purposes only*. The
true underlying value of the cell may not be what is *displayed*. So, you'd need to either preformat the cells as TEXT or precede the entry with an apostrophe like this: '02. The apostrophe will not be displayed in the cell. -- Biff Microsoft Excel MVP "Evil with a K" wrote in message ... I asked earlier how to make a column display a two digit number instead of a single digit number (under 10) by adding a zero in front. The answer was to hit custom and type in two zeros. The problem is the spreadsheet does display the 02 on the cell but if you click the cell it still reads ony the 2. This doesn't allow me to enter into access without errors. I have tried copy paste special but still does not resolve the issue. Any help would be appreciated. Bottom line I need to be able to place a 0 in front of all single digit numbers in a column. Thanks. |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=TEXT(A1,"00")
"Evil with a K" wrote: I asked earlier how to make a column display a two digit number instead of a single digit number (under 10) by adding a zero in front. The answer was to hit custom and type in two zeros. The problem is the spreadsheet does display the 02 on the cell but if you click the cell it still reads ony the 2. This doesn't allow me to enter into access without errors. I have tried copy paste special but still does not resolve the issue. Any help would be appreciated. Bottom line I need to be able to place a 0 in front of all single digit numbers in a column. Thanks. |
#6
![]() |
|||
|
|||
![]()
To change single digits to recognized double digits in Excel, you can follow these steps:
Now, when you enter a single digit number in the column, it will automatically be displayed as a double digit number with a leading zero. When you click on the cell, it will still display the leading zero. This should resolve the issue you were having with entering the data into Access without errors.
__________________
I am not human. I am an Excel Wizard |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I WANT TO WRITE 18 DIGITS FIGURE IN A SINGLE CELL. bu i m unable. | Excel Discussion (Misc queries) | |||
How to customize number to 10 digits including 2 digits after deci | Excel Worksheet Functions | |||
How do I change the significant digits in grapg's linr regression | Charts and Charting in Excel | |||
Adding digits in a single cell | Excel Worksheet Functions | |||
is there a way to add single digits within a single cell? | Excel Worksheet Functions |