South African ID Number Checker in Excel version 2
Want this as an app for your smartphone? Click here
A long time ago I built a simple Excel spread sheet which worked out if an ID number was valid or not. Since then I have had a bunch of feedback on it, most about how it works. However a week ago Riaan contacted me and pointed out a bug in it so I took this as an opportunity to rebuild it.
Not only does the new version check the validity of the ID number, it tells you where the person was born, gender and birthdate.
Something else that I wanted to do was clean up the calculations. So now they have been moved to their own (non-hidden) tab and are fully documented. So if you are implementing your own checker you can clearly see exactly what is going on and how it all comes together.
Finally for those who wish to do a lot of checking, the third sheet of the Excel spread sheet contains that functionality where the checks are inline so that you can apply them to multiple ID numbers.
I want to extend a massive thanks to Riaan Pretorius, not only for pointing out the bug but also running the new version through it’s paces and finding some issues in it. The fact this one is much better is owed to him, I just typed the code ![]()
You can download the Excel file below!
| Attachment | Size |
|---|---|
| South African ID Number Checker v2.1.zip | 27.42 KB |

Thanks Rob! Very well done. Hope you doing well...
Hi Robert,
Sorry to be the bearer of bad news, but there seems to be another bug. Your tool's analysis results wrongly assert that I was born in SA.
Can you recommend an ID validator? All the links I've tried don't seem to work.
Cheers
Patrick
Double checked and there is no bug in there. To work out if someone is born in South Africa is very simple - digit 11 in the ID number. If it is zero you are South African, if it is one you aren't. You can read more on how it works at: http://www.sadev.co.za/content/what-south-african-id-number-made
If you have anything else in digit 11 I would love to hear about it, else I would say either home affairs have screwed up your ID number OR they have changed the meaning without publically updating anyone.
DEAR ROBERT
IS THERE ANYWAY YOU CAN PUT IN THE PERSONS NAME AND REQUEST THEIR ID NUMBER?
THANKS
Hi, Robert
Firstly, thanks for creating such a great tool, and also for outlining the process involved in validating an ID number.
Because I reckon that your ID Checker is such a valuable tool, I would like to request a favour. Would it be possible for you to convert your current Checker into a format that will be supported on BlackBerry phones, especially the 9800 Torch model (Software v.6)?
The reason I ask is because I work in the police, and every so often I come across some shady characters that ought to have their IDs checked. Unfortunately, the SAPS infrastructure is not always able (or even functioning) to do the necessary ID checks, so having such a powerful tool on my phone would just make things a LOT easier.
[I've tried opening your current file on my BB, but for some reason both the 'Valid' and 'Born in' fields display '#VALUE!', and both the 'Gender' and 'Birth Date' fields display incorrect results - the 'Gender' result is the opposite of what it should be, and the 'Birth Date' is incorrect by quite a number of years, months, and days.]
Thank you kindly in advance for any assistance you might be able to offer in this regard.
Cheers,
Martin
Hi Robert,
I can't open the file, says it's invalid. (Win 7, 64-bit)
Please assist,
Mike
Hey Robert, I tried to download the file 2 or three time but I always get a broken zip file...
any ideas?
Your ID checker is still wrong. I put in mine and it established that I was male. If the middle 4 numbers starts with 0-4, the person is female, and 5-9, the person is male.
Hi the 7th to 10th digits is under 5000 if you're a female, and the 8th - 10th is the numbered boy/girl that has been registered on that day
Post new comment