#1   Report Post  
Bryan
 
Posts: n/a
Default Calculation question

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   Report Post  
JulieD
 
Posts: n/a
Default

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   Report Post  
Bryan
 
Posts: n/a
Default

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   Report Post  
JulieD
 
Posts: n/a
Default

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   Report Post  
Bryan
 
Posts: n/a
Default

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   Report Post  
JulieD
 
Posts: n/a
Default

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I use a check box to accept a calculation Joejoethecrackman Excel Discussion (Misc queries) 5 March 22nd 05 08:47 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 10:11 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 09:36 PM
An easy macro question and one I believe to be a little more diffi TroutKing Excel Worksheet Functions 3 January 18th 05 09:17 PM
Calculation Question Lynn Q Excel Worksheet Functions 4 November 3rd 04 12:14 AM


All times are GMT +1. The time now is 05:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"