Advertisement

06.14.2008 at 08:54AM PDT, ID: 23485169
[x]
Attachment Details

insert zeroes at the beginning of a text string in an Excel column

Asked by bpfsr in Microsoft Office Suite, Visual Basic Programming, Microsoft Excel Spreadsheet Software

I am importing a tab delimited file into Excel. The problem is I have reference numbers that very often start with one or more zeroes. Excel formats the column as general and trims the zeroes. I'm thinking the way to deal with this is format the column as text and then put a formula in the cells beginning with [=if (len<10) ] I just can't figure out the part that would insert the zeroes at the beginning of the string. Any help much appreciated.Start Free Trial
[+][-]06.14.2008 at 08:58AM PDT, ID: 21785784

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.

 
[+][-]06.14.2008 at 09:10AM PDT, ID: 21785838

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

Zones: Microsoft Office Suite, Visual Basic Programming, Microsoft Excel Spreadsheet Software
Sign Up Now!
Solution Provided By: WJReid
Participating Experts: 3
Solution Grade: A
 
 
[+][-]06.14.2008 at 09:10AM PDT, ID: 21785840

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]06.14.2008 at 09:29AM PDT, ID: 21785882

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.

 
[+][-]06.14.2008 at 10:55AM PDT, ID: 21786133

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

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

 
[+][-]06.14.2008 at 02:37PM PDT, ID: 21786722

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.

 
[+][-]06.14.2008 at 02:39PM PDT, ID: 21786733

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

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

 
[+][-]06.14.2008 at 03:15PM PDT, ID: 21786806

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.

 
[+][-]06.14.2008 at 03:21PM PDT, ID: 21786815

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

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

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