Hello,
I'm trying to replace the nulls in Longitude & Latitude for ZIP codes that belong to same City, where I already have coordinates for the City (as other ZIPs in same city)
Up to now I could only partially solve it by checking if a value exists in the Row+1 or Row-1.
But it has to be a different solution, because I still end up with Nulls where the ZIP code is not one in a certain order.
How about in case I have København K, København C, København K , København N but only Coordinates for one of them, let's say København C?
Hi @Inactive User
For the data you presented, I would create the following workflow.
1. Split fields by space character at Text to Columns tool
2.Make City List by Summarize tool.
3. Join at Key Field that is "1"
Do you have the other similar case in your data?
If there are few patterns, you can create only a few logics.
Yes, there are quite a few variations of some Cities with different ZIPs but your 2nd solution should do the trick to add same coordinates as one of the variations.
.