View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Doug B Doug B is offline
external usenet poster
 
Posts: 2
Default Barcode Check Digits

I have a spreadsheet full of GTIN - 13 barcode id numbers without check
digits. I can calculate the check digit for each but I need to know if anyone
has created a formula to auto calculate each in Excel? The process for
calculating a GTIN-13 barcode check digit is listed below unfortunately I am
not familiar enough with the Excel formulas to even know where to start.

1. Suppose you want to find the Check Digit for the GTIN-13 or GLN ID Number
101454121022. Set up a table with 13 columns, and put the number 101454121022
into Positions One through Twelve. Position Thirteen will be blank because it
is reserved for the Check Digit.
2. Add the numbers in Positions Two, Four, Six, Eight, Ten, and Twelve: (0 +
4 + 4 + 2 + 0 + 2 = 12).
3. Multiply the result of Step Two by three: (12 x 3 = 36).
4. Add the numbers in Positions One, Three, Five, Seven, Nine, and Eleven:
(1 + 1 + 5 + 1 + 1 + 2 = 11).
5. Add the results of Step Three and Step Four: (36 + 11 = 47).
6. The Check Digit is the smallest number needed to round the result of Step
Five up to a multiple of 10. In this example, the Check Digit is 3.

Any help would be appreciated.