derricksmith
New Member
- Joined
- Aug 29, 2017
- Messages
- 2
Hi,
I have an address the following formats in a cell:
Customer Name, 1 Address, 2 Address, City, ST, 00000-0000, US
Other Customer, 1 Address, City, ST, 12345, US
I need a formula to just extract the “ST” state information. My problem is sometimes there is no “2 Address” and corresponding comma. So using “Text to Columns” doesn’t create consistent data.
As you can see the number of commas can vary. How I extract from the “ST” from after the 3rd comma from the right?
Thanks!
I have an address the following formats in a cell:
Customer Name, 1 Address, 2 Address, City, ST, 00000-0000, US
Other Customer, 1 Address, City, ST, 12345, US
I need a formula to just extract the “ST” state information. My problem is sometimes there is no “2 Address” and corresponding comma. So using “Text to Columns” doesn’t create consistent data.
As you can see the number of commas can vary. How I extract from the “ST” from after the 3rd comma from the right?
Thanks!