S
Stephen Brown
Has anyone written a formula to calculate the check digit for a 13 character EAN code from the leading 12 characters? (The 13th is the chaeck digit.)
character EAN code from the leading 12 characters? (The 13th is the chaeckStephen Brown said:Has anyone written a formula to calculate the check digit for a 13
...So the formula should read:
=10-MOD(SUM(VALUE(MID(TEXT(A1,"000000000000"),12-ROW(INDIRECT("1:12"))+1,1))
*IF(MOD(ROW(INDIRECT("1:12")),2),3,1)),10)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.