Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a worksheet and I need to preserve the zeros in front of numbers in
the formula bar, but I cant seem to get them to show up. How do I do this? They are in the cell, but not the formula bar? TIA Scott T. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If leading zeros appear in the cell, but not the formula bar, then they
result from formatting. They ae not actually in the data. If you require them in the formula bar (not a normal requirement) precede the value with an apostrophe (single quote). -- Gary's Student - gsnu200798 "scottdog129" wrote: I have a worksheet and I need to preserve the zeros in front of numbers in the formula bar, but I cant seem to get them to show up. How do I do this? They are in the cell, but not the formula bar? TIA Scott T. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Ill use a little more detail so, maybe, you can see what Im trying to
accomplish. I have data sent to our company in an Excel worksheet. In this worksheet, there is a column that is a matter number, or file number. In most cases, the number looks similar to 01234.0001. There are other numbers in other cells that look a little different, like 123456.0000. The problem we are finding is that, when we import this data into our SQL database that runs our records management software, the zero in front of the number isnt making it into the database. Its being dropped off. This is bad because the client needs that zero there. Is this happening in Excel BEFORE the import, or is this happening DURING the import? "Gary''s Student" wrote: If leading zeros appear in the cell, but not the formula bar, then they result from formatting. They ae not actually in the data. If you require them in the formula bar (not a normal requirement) precede the value with an apostrophe (single quote). -- Gary's Student - gsnu200798 "scottdog129" wrote: I have a worksheet and I need to preserve the zeros in front of numbers in the formula bar, but I cant seem to get them to show up. How do I do this? They are in the cell, but not the formula bar? TIA Scott T. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The cells with the leading zeros are formatted to display a leading zero.
The zero does not actually exist in the cell so when you export you will export the actual value of 1234.0000 For exporting to a DB that needs the leading zero, in a helper cell enter =TEXT(A1, "00000.0000" Copy and paste special(in place) as Values Gord Dibben MS Excel MVP On Thu, 7 Aug 2008 12:16:16 -0700, scottdog129 wrote: Ill use a little more detail so, maybe, you can see what Im trying to accomplish. I have data sent to our company in an Excel worksheet. In this worksheet, there is a column that is a matter number, or file number. In most cases, the number looks similar to 01234.0001. There are other numbers in other cells that look a little different, like 123456.0000. The problem we are finding is that, when we import this data into our SQL database that runs our records management software, the zero in front of the number isnt making it into the database. Its being dropped off. This is bad because the client needs that zero there. Is this happening in Excel BEFORE the import, or is this happening DURING the import? "Gary''s Student" wrote: If leading zeros appear in the cell, but not the formula bar, then they result from formatting. They ae not actually in the data. If you require them in the formula bar (not a normal requirement) precede the value with an apostrophe (single quote). -- Gary's Student - gsnu200798 "scottdog129" wrote: I have a worksheet and I need to preserve the zeros in front of numbers in the formula bar, but I cant seem to get them to show up. How do I do this? They are in the cell, but not the formula bar? TIA Scott T. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
when i megre cells that begin with zeros , I lose the zeros | Excel Discussion (Misc queries) | |||
Essbase: Text zeros to number zeros | Excel Discussion (Misc queries) | |||
LEADING ZEROS IN FORMULA RESULT | Excel Worksheet Functions | |||
Minimum formula the excludes zeros | Excel Worksheet Functions | |||
save text field w/ leading zeros in .csv format & not lose zeros? | Excel Discussion (Misc queries) |