I have a .csv file where multiple postcodes (characters and numbers) correspond to a unique ID number (also characters and numbers).
e.g
BS2 9TL, E00073143
BS2 9TB, E00073143
BS2 9XJ, E00073143
BS2 8AT, E00073144
BS2 8TY, E00073144
BS2 8UA, E00073144
BS2 8UG, E00073144
I need to create a new array for each unique ID number that stores the respective postcodes. The amount of postcodes for each ID number is not the same every time.
The file contains 9010 postcodes and 1258 ID numbers.
Can anyone show me how to go about doing this?