I have a column of numbers that constitute a code. The code is used instead of using a company's name. However, to run this code into a program I use for work, I need to make sure the code is in a certain format - it must have AA in front of it.
There is only one problem. The code must be 8 characters at the end. If the original code is 123456 we simply stick AA in the beginning - (AA123456). However, if the code is shorter we must input the correct amount of zeros in to compensate - so if it were only 1234 we would need to type AA001234.
What formula can I use to automatically convert this huge column of code into the correct AA format every time?
Thank You!
There is only one problem. The code must be 8 characters at the end. If the original code is 123456 we simply stick AA in the beginning - (AA123456). However, if the code is shorter we must input the correct amount of zeros in to compensate - so if it were only 1234 we would need to type AA001234.
What formula can I use to automatically convert this huge column of code into the correct AA format every time?
Thank You!