I am trying to populate a column from Sheet A into Sheet B and Sheet C. My Lookup column for Sheet A is formatted as such so there is a ' in front to account for ones that have a leading 0 and some do not. Each ID should be 6 digits long. I made a helper column looking at this Dealer ID column to try and get rid of that formatting as I think that is throwing off my lookup. I made this helper Column DID to help turn that Dealer ID into a string.
On Sheets B and C however I need to pull the Code out of the Name of the Retailer. If the code is not 6 digits and only 5 digits, a 0 needs added in front to get to 6 digits.
Using this formula to get the code either 5 or 6 digits
And then using this formula to make sure all codes are 6 digits long
I cannot seem to get these codes to sync up. The ultimate goal is to pull in new naming conventions from Sheet A into Sheet B and C using these dealer codes.
Any suggestions or help would be greatly appreciated.