keeping format

  • Thread starter Thread starter Maurice Samueks
  • Start date Start date
M

Maurice Samueks

I have an excel spreadsheet with 3 digit numbers and some lead with
zeros. I went into format cell and created my own format so that I get
the zeros no matter how many there is. My format is just a simple
simple custom 000. Now after I get these numbers in this format I need
to cancotanate(&) them to create a 6 digit number. The problem is when
I cancontanate them together I loose the zeros that were added because
of formating. How can I get those zeros to remain during the
cancontanate process? example 916-069 then 916 | 69 then 91669 the
result I am looking for is 916-069 = 916069.
 
that is great, just curious is it possible to replace that text with
numbers or is this particular formatting a text only option.
 
Hi Maurice

using
=value(text(A1,"000") & text(A2,"000"))

will convert the answer back to a number
the problem with this is if the value in A1 is 2 digits long you'll only get
the 2 digits as numbers drop the leading zeros, so you'll have to put a
custom format on the cell ....

Cheers
JulieD
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Actual solution 2
format 9
Number starting with zero 5
Force leading zeros 2
How to display zeros at the beginning of a number? 5
Zip Codes Dropping Leading Zero 3
Text vs. Number 5
Text Output To CSV 5

Back
Top