INSEE number and control key in Excel

Solved
cristina newton Posted messages 6 Status Membre -  
 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 réponses

eriiic Posted messages 24581 Registration date   Status Contributeur 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
Gicé
 
Thank you for all these very helpful details!
0
Octaves Posted messages 6 Status Membre
 
Thanks for the info. We can indeed get by without mod().
0