S
Sophie
Hello Everyone!
I have a column that needs to be populated with a six
digit number. I start off with a number (in cell G2) that
can be between 1 and four digits in length. I have used
the function below.
=IF(LEN(G2)=1,"00000"&G2,IF(LEN(G2)=2,"0000"&G2,IF(LEN(G2)
=3,"000"&G2,IF(LEN(G2)=4,"00"&G2,"Not"))))
It appears I might need expand this out to 13 digits. Can
anyone think of a better way as this formula will start
to get clumsy
TIA
Sxx
I have a column that needs to be populated with a six
digit number. I start off with a number (in cell G2) that
can be between 1 and four digits in length. I have used
the function below.
=IF(LEN(G2)=1,"00000"&G2,IF(LEN(G2)=2,"0000"&G2,IF(LEN(G2)
=3,"000"&G2,IF(LEN(G2)=4,"00"&G2,"Not"))))
It appears I might need expand this out to 13 digits. Can
anyone think of a better way as this formula will start
to get clumsy
TIA
Sxx