How to include leading zeros when you combine columns
I have several columns that contain leading zeros (which I have figured out how to include). I am trying to combine the columns using "&," but every time I do the leading zeros are not included. For example I have the following:
Column I = 06
Column J = 059
Column K = 062622
Column L = 2004
In Column M I entered "=I1&J1&K1&L1" and I got 659626222004. However, what I want is 060590626222004.
How do I include the leading zeros when I combine the columns?
Thanks for the help!
Use the Text function with
Use the Text function with the concatenate ampersand as follows:
=TEXT(I1,"00")&TEXT(J1,"000")&TEXT(K1,"000000")&TEXT(L1,"0000")
Regards
Mark