Hi all,
Trying to parse the following data in cell A1 and remove leading and trailing spaces, line breaks and tabs that seem to be present in the raw data of the cell. The following formula works to parse the needed data, but the spaces, tab and line breaks are causing me problems after I convert B2 to values (V)123. I just need to parse the latitude and longitude - don't need the Altitude.
Any help would be appreciated.
=(MID(LEFT(A2,FIND("Altitude",A2)-1),FIND("Latitude",A2)+9,LEN(A2)))
Trying to parse the following data in cell A1 and remove leading and trailing spaces, line breaks and tabs that seem to be present in the raw data of the cell. The following formula works to parse the needed data, but the spaces, tab and line breaks are causing me problems after I convert B2 to values (V)123. I just need to parse the latitude and longitude - don't need the Altitude.
Any help would be appreciated.
=(MID(LEFT(A2,FIND("Altitude",A2)-1),FIND("Latitude",A2)+9,LEN(A2)))
Body | Latitude | Longitude |
Latitude 037 46 45.304N Longitude 122 25 49.541W Altitude 182 meter (above sea level) | 037 46 45.304N |