Closed Thread
Results 1 to 4 of 4

modulus 11 formula

  1. #1
    Mich modulus 11
    Guest

    modulus 11 formula

    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

  2. #2
    vezerid
    Guest

    Re: modulus 11 formula

    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


  3. #3
    Registered User
    Join Date
    06-24-2021
    Location
    Australia
    MS-Off Ver
    365
    Posts
    12

    Re: modulus 11 formula

    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

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,997

    Re: modulus 11 formula

    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.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1