ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   entering a 0 before a number (https://www.excelbanter.com/excel-discussion-misc-queries/139297-entering-0-before-number.html)

christielee

entering a 0 before a number
 
I changed my numbers in the column to text now i need to enter 0 before all
of the numbers i've tried macros and it erases the whole number and replaces
it with the 0 i need to add the zero is there a way to do this to all 847
lines vs individually?

dlw

entering a 0 before a number
 
make a "helper" column and use =concatenate("0",a1) assuming data starts in
a1, the copy/paste special/values

"christielee" wrote:

I changed my numbers in the column to text now i need to enter 0 before all
of the numbers i've tried macros and it erases the whole number and replaces
it with the 0 i need to add the zero is there a way to do this to all 847
lines vs individually?


christielee

entering a 0 before a number
 
i'll try this thank you

"dlw" wrote:

make a "helper" column and use =concatenate("0",a1) assuming data starts in
a1, the copy/paste special/values

"christielee" wrote:

I changed my numbers in the column to text now i need to enter 0 before all
of the numbers i've tried macros and it erases the whole number and replaces
it with the 0 i need to add the zero is there a way to do this to all 847
lines vs individually?


Teethless mama

entering a 0 before a number
 
If your data always have three digit numbers then try this:

Custom Format cells as 0000

"christielee" wrote:

I changed my numbers in the column to text now i need to enter 0 before all
of the numbers i've tried macros and it erases the whole number and replaces
it with the 0 i need to add the zero is there a way to do this to all 847
lines vs individually?


christielee

entering a 0 before a number
 
you are my hero i have been doing this individually for the last 4 years and
no one has been able to help with 2003 excel. Thanks a ton it works great.

"dlw" wrote:

make a "helper" column and use =concatenate("0",a1) assuming data starts in
a1, the copy/paste special/values

"christielee" wrote:

I changed my numbers in the column to text now i need to enter 0 before all
of the numbers i've tried macros and it erases the whole number and replaces
it with the 0 i need to add the zero is there a way to do this to all 847
lines vs individually?



All times are GMT +1. The time now is 07:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com