Migration · 7 minute read
Moving twelve hundred students out of a spreadsheet
The import is the easy part. The two days before it are the work.
The three columns that always cause trouble #
- Dates of birth — In one sheet you will find 12/03/2014, 12-3-14, March 2014, and a blank. Decide the format, convert the whole column at once, and check the ambiguous ones — 03/04 is two different children's birthdays depending on who typed it.
- B-Form and CNIC numbers — Excel strips leading zeros and turns long numbers into scientific notation. If your sheet shows 3.52E+12 anywhere, that data is already gone and has to come from the original forms. Format the column as text before anybody touches it.
- Class and section — "5-A", "V A", "Class 5 (A)" and "5A" are four spellings of one section, and a sheet maintained by three people will have all four. Normalise before importing, not after.
Clean these before you import anything #
- Duplicate students — usually a child re-enrolled after a gap, with two rows and two roll numbers
- Students who have left, still on the sheet because deleting rows feels risky
- Phone numbers: pick one format, decide whether to keep the leading zero, and strip the spaces and dashes
- Names with a trailing space, which is invisible and will produce two students who look identical
- Merged cells, which will not survive any import anywhere
Import in the right order #
Everything depends on something else. Get this wrong and half your students land with no section.
- Academic session — Nothing can exist without one.
- Classes, then sections — A section belongs to a class.
- Subjects — So they can be allocated.
- Staff — So teachers can be assigned to sections and subjects.
- Students — Now every class and section they reference exists.
- Fee heads and structures — Then challans, which need both students and structures.
Check three numbers afterwards #
- Total students imported against total rows in the sheet, and account for every one of the difference
- Students per section against what the office believes each section holds
- A sample of ten records opened fully, comparing every field against the original — not just the name