G
Guest
Is there a function that incorporates Mod 10 & 11 algorithms. The only thing
I am seeing is the Mod function.
Thanks,
I am seeing is the Mod function.
Thanks,
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Mod 10 & Mod 11 are alogrithms for assigning a check-digit value to an ISBN
in the publishing world.
Mod 11 - calculates a sum based on the first nine digits, beginning at the
9th digit
example
0 3 9 3 0 4 0 0 2 (ISBN)
10 9 8 7 6 5 4 3 2 Weight
0 27 72 21 0 20 0 0 4 = 144
Check digit = mod11 (11 - mod11 (144)) = 10
Try
=11-MOD(SUMPRODUCT(--MID(SUBSTITUTE(ISBN_without_check_digit,"-",""),
{9;8;7;6;5;4;3;2;1},1),{2;3;4;5;6;7;8;9;10}),11)
Mod 10 - calculates the check digit, 13th off of
9 7 8 0 3 9 3 0 4 0 0 2 (ISBN)
1 3 1 3 1 3 1 3 1 3 1 3 Weight
9 21 8 0 3 27 3 0 4 0 0 6 = 81
Check digit = mod10 (10 - mod10 (81)) = 9
Pablo said:Mod 10 & Mod 11 are alogrithms for assigning a check-digit value to an
ISBN
in the publishing world.
Mod 11 - calculates a sum based on the first nine digits, beginning at the
9th digit
example
0 3 9 3 0 4 0 0 2 (ISBN)
10 9 8 7 6 5 4 3 2 Weight
0 27 72 21 0 20 0 0 4 = 144
Check digit = mod11 (11 - mod11 (144)) = 10
Mod 10 - calculates the check digit, 13th off of
9 7 8 0 3 9 3 0 4 0 0 2 (ISBN)
1 3 1 3 1 3 1 3 1 3 1 3 Weight
9 21 8 0 3 27 3 0 4 0 0 6 = 81
Check digit = mod10 (10 - mod10 (81)) = 9
Hope this explains it. I have seen this in VBA, but I want to see if I
can
do it in a cell.
Thanks,
Paul
........
With ISBN (without hyphens) in A1:
=11-MOD(SUMPRODUCT(MID(A1,ROW(INDIRECT("4:12")),1)*{10;9;8;7;6;5;4;3;2}),11)
Harlan Grove said:Leo Heuser wrote...
...
So ISBN without check digit is 039304002.
...
With ="039304002" in A1, your formula above returns #VALUE!. Gotta
watch those typos in the INDIRECT calls!
You meant ROW(INDIRECT("1:9")), but {1;2;3;4;5;6;7;8;9} is shorter and,
perhaps, less error-prone.
There's no typo, if I have understood the OP's mail correctly
The ISBN number (containing 12 digits) in A1 is
9 7 8 0 3 9 3 0 4 0 0 2
not as you claim
0 3 9 3 0 4 0 0 2
and
"first nine digits" indicating that there are more than nine.
....Since the sum starts from the ninth digit, which is digit number 4 in
the string in A1 (the number 0)
ROW(INDIRECT("4:12")
is correct.
....When you start to include your well-known name calling, insults
and rude manners, the "discussion" ends right here, as far as I'm
concerned.
....When you start to include your well-known name calling, insults
and rude manners, the "discussion" ends right here, as far as I'm
concerned.
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.