OK, so this should be pretty simple, but I can't figure it out.
I need to take a 12 digit UPC and come up with the 8 digit zero suppressed code. For those unfamiliar with UPC's, here's the way they are built:
A UPC is made up of a lead digit (in this case a "0"), a manufacture's code ("11000"), an item code ("00112") and a check digit ("6"). I need to keep this code in one column and have the zero suppressed code in the column next to it. A zero suppressed code is made by taking out the middle five 0's (can only be done if you have five 0's in a row) and then adding a "0" as the last digit before the check digit. The spaces between the lead and check digit are required for the zero suppressed code.
I have the following in Cell A:
0 11000 00112 6
I need to get to this in Cell B:
0 111120 6
I need to take a 12 digit UPC and come up with the 8 digit zero suppressed code. For those unfamiliar with UPC's, here's the way they are built:
A UPC is made up of a lead digit (in this case a "0"), a manufacture's code ("11000"), an item code ("00112") and a check digit ("6"). I need to keep this code in one column and have the zero suppressed code in the column next to it. A zero suppressed code is made by taking out the middle five 0's (can only be done if you have five 0's in a row) and then adding a "0" as the last digit before the check digit. The spaces between the lead and check digit are required for the zero suppressed code.
I have the following in Cell A:
0 11000 00112 6
I need to get to this in Cell B:
0 111120 6