INSEE number and control key in Excel

Solved
cristina newton Posted messages 6 Status Member -  
 cécé -
Hello,
I have been asked to create a spreadsheet in Excel that, when I type the first 13 characters of an INSEE number, returns the value of the control key.

Thank you in advance for your quick response. I'm seriously panicking, I have an Applied Computer Science exam in data processing coming up and I'm far from being able to do it.

Cristina
Configuration: Windows XP Internet Explorer 7.0

7 answers

  1. eriiic Posted messages 24581 Registration date   Status Contributor Last intervention   7 281
     
    Hello everyone,

    You have #number because mod() is somewhat overwhelmed by the size of the number.
    You can bypass it with:
    =97-ROUND((A2/97-INT(A2/97))*97,0)

    And to always display your input in 13 digits, enter your number with a ' in front or set your cell to text format.

    eric
    3
    1. Gicé
       
      Thank you for all these very helpful details!
      0
    2. Octaves Posted messages 6 Status Member
       
      Thanks for the info. We can indeed get by without mod().
      0