Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / August 2006

Tip: Looking for answers? Try searching our database.

How to keep 0 in front of # in excel (ex: 018787766316)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rob - 19 Aug 2006 16:19 GMT
I have a UPC code I am trying to upload to nextag.  When I convert the UPC
code to Numbers or Text and then save the file as .csv for uploading, the
first digit of the UPC code disappears.  

Ex: 0-18787-76631-6 I have to remove all dashes, apostrophes, etc, as per
Nextag specs, and in order for the zero to remain as the first digit I have
to convcer the formatting of the cell to text, but when I save the file for
upload the zero drops off, and I am left with 18787766316, which results in
an error.  Any ideas???
Jim Reed - 19 Aug 2006 16:49 GMT
Try formatting the cell as text before entering the data.

Signature


I have a UPC code I am trying to upload to nextag.  When I convert the UPC
code to Numbers or Text and then save the file as .csv for uploading, the
first digit of the UPC code disappears.  

Ex: 0-18787-76631-6 I have to remove all dashes, apostrophes, etc, as per
Nextag specs, and in order for the zero to remain as the first digit I have
to convcer the formatting of the cell to text, but when I save the file for
upload the zero drops off, and I am left with 18787766316, which results in
an error.  Any ideas???
Rob - 19 Aug 2006 18:43 GMT
I realize how to format the cell, as stated below, the problem is when I save
the file and reopen the formatting changes.  Example:  I take the UPC code
0-18787-76631-6, format the cell for text and remove the dashes.  All is
fine.  I then save the file so I can retrieve it for upload in nextag's
interface and when I reopen the file, the 0 in front of the number is gone.  
I need to be able to keep that zero infront of the number as it is crucial to
the UPC code.  Any other ideas???

> Try formatting the cell as text before entering the data.
>
[quoted text clipped - 7 lines]
> upload the zero drops off, and I am left with 18787766316, which results in
> an error.  Any ideas???
Dave Peterson - 19 Aug 2006 19:18 GMT
I have no idea what nextag is, but if you're just re-opening the CVS file in
excel to check to see if things worked correctly, stop doing this!

Open that text CSV file in Notepad--or any other text editor.

The CSV file will look pretty in Notepad, but excel will do what it wants when
it opens the file (numbers will be treated as numbers; things that look like
dates, will be treated as dates).

You can have more control over how excel sees the data if you rename the file
from *.csv to *.txt when you can make choices from the data import wizard.

> I realize how to format the cell, as stated below, the problem is when I save
> the file and reopen the formatting changes.  Example:  I take the UPC code
[quoted text clipped - 17 lines]
> > upload the zero drops off, and I am left with 18787766316, which results in
> > an error.  Any ideas???

Signature

Dave Peterson

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.