Advertisement

12.16.2004 at 07:55AM PST, ID: 21244986
[x]
Attachment Details

Appending zeros to the left of the cell if cell data width is less than 5 digits

Asked by interlaken in Microsoft Excel Spreadsheet Software

Tags: , ,

Hi,

I am exporting data from an asp page to excel spreadsheet.  I am losing preceeding zeros in some of the cells.  How can format these cells in excel so if a cell's data is less than five digits append that many zeros to make the cell five digits.

For Example:

If the cell value is 15, I want to see it as 00015.Start Free Trial
[+][-]12.16.2004 at 07:57AM PST, ID: 12841921

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Excel Spreadsheet Software
Tags: excel, append, zeros
Sign Up Now!
Solution Provided By: UINVDJM
Participating Experts: 3
Solution Grade: A
 
 
[+][-]12.16.2004 at 07:58AM PST, ID: 12841935

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.16.2004 at 08:06AM PST, ID: 12842029

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.16.2004 at 08:09AM PST, ID: 12842063

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.16.2004 at 08:09AM PST, ID: 12842064

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.16.2004 at 08:11AM PST, ID: 12842099

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.16.2004 at 08:20AM PST, ID: 12842226

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32