has anyone had a go at setting up a formula to check that a reference number
is valid via a modulus 11 check digit? i can't find that there is a function
specifically for it.
Michelle
has anyone had a go at setting up a formula to check that a reference number
is valid via a modulus 11 check digit? i can't find that there is a function
specifically for it.
Michelle
Michelle,
I just saw the algorithm in the internet
(http://docs.hp.com/en/32209-90024/apds02.html)
the following formula calculates the check digit of a number in A1.
=11-MOD(SUMPRODUCT(VALUE(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)),
MOD(ROW(INDIRECT("1:"&LEN(A1)))-1,6)+2),11)
To append the check digit to the number
=value(A1&_formula_)
HTH
Kostis Vezerides
Hi there, I was wondering if you can please tell me what the weighting factor is on this solution offered?
I need to be able to control the weighting factor.
Thanks
Administrative Note:
Welcome to the forum.
We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.
Please see Forum Rule #4 about hijacking and start a new thread for your query.
If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks