Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Algorithm Challenge
I am trying to create a check digit worksheet for an algorithm where staff
have to use the algorithm hundreds of times daily, so it has to be quick and efficient. The algorithm works where the first 12 digits are multiplied and summed using simple math, and the REMAINDER of the of the sum divided by 9 must equal the 13th digit. For example: My number is 0500450002883, so 1x0=0 2x5=10 3x0=0 4x0=0 5x4=20 6x5=30 7x0=0 8x0=0 9x0=0 10x2=20 11x8=88 12x8=96 where the sum = 264. If you divide 264 by 9, the remaider is 3, the check digit. What formula can I use to produce the remaider for 264/9 instead of getting 29.33? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Algorithm Challenge
=MOD(A1,9)
-- Kind regards, Niek Otten Microsoft MVP - Excel "Lowkey" wrote in message ... I am trying to create a check digit worksheet for an algorithm where staff have to use the algorithm hundreds of times daily, so it has to be quick and efficient. The algorithm works where the first 12 digits are multiplied and summed using simple math, and the REMAINDER of the of the sum divided by 9 must equal the 13th digit. For example: My number is 0500450002883, so 1x0=0 2x5=10 3x0=0 4x0=0 5x4=20 6x5=30 7x0=0 8x0=0 9x0=0 10x2=20 11x8=88 12x8=96 where the sum = 264. If you divide 264 by 9, the remaider is 3, the check digit. What formula can I use to produce the remaider for 264/9 instead of getting 29.33? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Algorithm Challenge
=MOD(264, 9)
-- HTH... Jim Thomlinson "Lowkey" wrote: I am trying to create a check digit worksheet for an algorithm where staff have to use the algorithm hundreds of times daily, so it has to be quick and efficient. The algorithm works where the first 12 digits are multiplied and summed using simple math, and the REMAINDER of the of the sum divided by 9 must equal the 13th digit. For example: My number is 0500450002883, so 1x0=0 2x5=10 3x0=0 4x0=0 5x4=20 6x5=30 7x0=0 8x0=0 9x0=0 10x2=20 11x8=88 12x8=96 where the sum = 264. If you divide 264 by 9, the remaider is 3, the check digit. What formula can I use to produce the remaider for 264/9 instead of getting 29.33? |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Algorithm Challenge
Awesome!
"Niek Otten" wrote: =MOD(A1,9) -- Kind regards, Niek Otten Microsoft MVP - Excel "Lowkey" wrote in message ... I am trying to create a check digit worksheet for an algorithm where staff have to use the algorithm hundreds of times daily, so it has to be quick and efficient. The algorithm works where the first 12 digits are multiplied and summed using simple math, and the REMAINDER of the of the sum divided by 9 must equal the 13th digit. For example: My number is 0500450002883, so 1x0=0 2x5=10 3x0=0 4x0=0 5x4=20 6x5=30 7x0=0 8x0=0 9x0=0 10x2=20 11x8=88 12x8=96 where the sum = 264. If you divide 264 by 9, the remaider is 3, the check digit. What formula can I use to produce the remaider for 264/9 instead of getting 29.33? |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Algorithm Challenge
=mod(264,9)
|
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
Algorithm Challenge
see response in worksheet.functions
-- HTH Bob Phillips "Lowkey" wrote in message ... I am trying to create a check digit worksheet for an algorithm where staff have to use the algorithm hundreds of times daily, so it has to be quick and efficient. The algorithm works where the first 12 digits are multiplied and summed using simple math, and the REMAINDER of the of the sum divided by 9 must equal the 13th digit. For example: My number is 0500450002883, so 1x0=0 2x5=10 3x0=0 4x0=0 5x4=20 6x5=30 7x0=0 8x0=0 9x0=0 10x2=20 11x8=88 12x8=96 where the sum = 264. If you divide 264 by 9, the remaider is 3, the check digit. What formula can I use to produce the remaider for 264/9 instead of getting 29.33? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
looking for my perfect algorithm | Excel Discussion (Misc queries) | |||
Algorithm Challenge | Excel Worksheet Functions | |||
algorithm creation | Excel Programming | |||
help with algorithm | Excel Programming | |||
Need help with algorithm | Excel Programming |