So i have a column in a report that for the most part has a structured string value but on certain rows and records, that string does not exist.. so when i apply a LEFT formula on the new column to extract that string, i get alot of chopped up values and rather have the cell empty..
So i have this in our raw data column with a value structures like this:
STR4552 -Alexandria LA. (Alexandria,LA)
STR4537 - Lake Charles LA (Lake Charles, LA)
Elizabethtown
USA
is this a safe formula to use to accomplish what im trying to do? my initial testing seems to look correct, im just curious if this is the best option. in the above sample data, i only want the new column to contain the STR value and if it doesn exist, then i want the cell empty.
=IF(ISNUMBER(SEARCH("STR",D2)),LEFT(D2,6),"")
Bookmarks