westend9876
Member
I copy and paste data into my spreadsheet in column A. The data in column A will have an address someplace in the column. Sometimes the address will appear like this:
11 Somewhere Ave
Anywhere, TX 79382
Where the first line (11 Somewhere Ave) is on one row. And Somewhere, TX 79382 is on the next row.
Other time the address will appear in the same row like:
11 Somewhere Ave, Anywhere, TX 79382
I need to extract the two letter state (TX) into cell B1 regardless of how the address appears in column A.
11 Somewhere Ave
Anywhere, TX 79382
Where the first line (11 Somewhere Ave) is on one row. And Somewhere, TX 79382 is on the next row.
Other time the address will appear in the same row like:
11 Somewhere Ave, Anywhere, TX 79382
I need to extract the two letter state (TX) into cell B1 regardless of how the address appears in column A.