Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I have a calculation that I do not even know where to begin with. It is a
check digit calculation. I can easily come up with the sum, but then the fun begins. I need to divide the sum by 10. Seems easy enough, except that I need to end up with a remainder, not a fraction or decimal. So if i end up with 79, I need to end up with the 9 or eventually after subtracting the remainder from 10, the 1. In this case the 1 is the check digit. Any ideas? |
#2
![]() |
|||
|
|||
![]()
Hi Bryan
with your number in A1 =10-Mod(A1,10) cheers JulieD "Bryan" wrote in message ... I have a calculation that I do not even know where to begin with. It is a check digit calculation. I can easily come up with the sum, but then the fun begins. I need to divide the sum by 10. Seems easy enough, except that I need to end up with a remainder, not a fraction or decimal. So if i end up with 79, I need to end up with the 9 or eventually after subtracting the remainder from 10, the 1. In this case the 1 is the check digit. Any ideas? |
#3
![]() |
|||
|
|||
![]()
Awesome! Thanks! One more question I forgot in my first post. If the check
digit is a 10, then I need it to be 0. "JulieD" wrote: Hi Bryan with your number in A1 =10-Mod(A1,10) cheers JulieD "Bryan" wrote in message ... I have a calculation that I do not even know where to begin with. It is a check digit calculation. I can easily come up with the sum, but then the fun begins. I need to divide the sum by 10. Seems easy enough, except that I need to end up with a remainder, not a fraction or decimal. So if i end up with 79, I need to end up with the 9 or eventually after subtracting the remainder from 10, the 1. In this case the 1 is the check digit. Any ideas? |
#4
![]() |
|||
|
|||
![]()
Hi Bryan
-- some people! :) -- =IF(A1=10,0,10-MOD(A1,10)) Cheers JulieD "Bryan" wrote in message ... Awesome! Thanks! One more question I forgot in my first post. If the check digit is a 10, then I need it to be 0. "JulieD" wrote: Hi Bryan with your number in A1 =10-Mod(A1,10) cheers JulieD "Bryan" wrote in message ... I have a calculation that I do not even know where to begin with. It is a check digit calculation. I can easily come up with the sum, but then the fun begins. I need to divide the sum by 10. Seems easy enough, except that I need to end up with a remainder, not a fraction or decimal. So if i end up with 79, I need to end up with the 9 or eventually after subtracting the remainder from 10, the 1. In this case the 1 is the check digit. Any ideas? |
#5
![]() |
|||
|
|||
![]()
Thanks Julie!
That was it!! I really Appreciate your help!! "JulieD" wrote: Hi Bryan -- some people! :) -- =IF(A1=10,0,10-MOD(A1,10)) Cheers JulieD "Bryan" wrote in message ... Awesome! Thanks! One more question I forgot in my first post. If the check digit is a 10, then I need it to be 0. "JulieD" wrote: Hi Bryan with your number in A1 =10-Mod(A1,10) cheers JulieD "Bryan" wrote in message ... I have a calculation that I do not even know where to begin with. It is a check digit calculation. I can easily come up with the sum, but then the fun begins. I need to divide the sum by 10. Seems easy enough, except that I need to end up with a remainder, not a fraction or decimal. So if i end up with 79, I need to end up with the 9 or eventually after subtracting the remainder from 10, the 1. In this case the 1 is the check digit. Any ideas? |
#6
![]() |
|||
|
|||
![]()
you're welcome and thanks for the feedback
"Bryan" wrote in message ... Thanks Julie! That was it!! I really Appreciate your help!! "JulieD" wrote: Hi Bryan -- some people! :) -- =IF(A1=10,0,10-MOD(A1,10)) Cheers JulieD "Bryan" wrote in message ... Awesome! Thanks! One more question I forgot in my first post. If the check digit is a 10, then I need it to be 0. "JulieD" wrote: Hi Bryan with your number in A1 =10-Mod(A1,10) cheers JulieD "Bryan" wrote in message ... I have a calculation that I do not even know where to begin with. It is a check digit calculation. I can easily come up with the sum, but then the fun begins. I need to divide the sum by 10. Seems easy enough, except that I need to end up with a remainder, not a fraction or decimal. So if i end up with 79, I need to end up with the 9 or eventually after subtracting the remainder from 10, the 1. In this case the 1 is the check digit. Any ideas? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I use a check box to accept a calculation | Excel Discussion (Misc queries) | |||
How do I use a rounded calculation result in another calculation? | Excel Worksheet Functions | |||
How do I use a rounded calculation result in another calculation? | Excel Worksheet Functions | |||
An easy macro question and one I believe to be a little more diffi | Excel Worksheet Functions | |||
Calculation Question | Excel Worksheet Functions |