I have a spreadsheet which is 150,000 rows long which contains postcodes. I have used a left keep =left(A1,4) to split out the first part only, this works fine for any postcode where the first part is 3 or 4 characters long IE DY6 or DY14. Some of the data unfortunatley has no spaces within the post codes IE DY53FL which using the formula keeps DY53 when i want it to keep only DY5.
EG
DY5 4TD DY5
DY5 4TN DY5
DY53FL DY53
DY53NN DY53
Is there an easier way to do this other than scrolling down and either adding a space to the cells with no space or changing the formula to =left(A1,3)
I had thought maybe there is a way to sort the list by number of characters not including spaces which means i could then add the Left3 & Left4 easier to a single block of data.
EG
I hope this makes sense, the reason needed is to put the data into Tableau with the first part of the post code only.
Thanks
Bookmarks