thanksamillion101
New Member
- Joined
- Jul 8, 2020
- Messages
- 41
- Office Version
- 2010
Good evening,
I am needing to extract text, using the end of the string and moving left. The information before the last two commas will always be the same . The information before the third to last comma, will not always be the same. Thank you in advance for your help!!!
The formula I need will extract and return in 3 different columns: Physical location in the first column and City in the the second column and ST in the third column.
String:
[Company Name], Physical Location, City, ST 99901, USA
A couple of the formulas I have tried.
MID(SUBSTITUTE(A2," ",""), FIND("USA",SUBSTITUTE(A2," ",""))-8,7)
TRIM(LEFT(RIGHT(SUBSTITUTE(A2,",",REPT(" ",100)),200),100))
I am needing to extract text, using the end of the string and moving left. The information before the last two commas will always be the same . The information before the third to last comma, will not always be the same. Thank you in advance for your help!!!
The formula I need will extract and return in 3 different columns: Physical location in the first column and City in the the second column and ST in the third column.
String:
[Company Name], Physical Location, City, ST 99901, USA
A couple of the formulas I have tried.
MID(SUBSTITUTE(A2," ",""), FIND("USA",SUBSTITUTE(A2," ",""))-8,7)
TRIM(LEFT(RIGHT(SUBSTITUTE(A2,",",REPT(" ",100)),200),100))