Extracting data

Bubba49

New Member
Joined
Apr 1, 2020
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Been at this for a few hours researching but need some help. Im trying to separate the following the easiest way possible:
cincinnati atArizona I am trying to separate the teams to there own cell and the at is always attached to that 2nd team name, i can get the first team name in a cell but cant figure out how to do the second team and some teams also have an extra space example atSan Francisco so sometimes theres 2 spaces in the cell. Also have a problem separating
(R) T MAHLE (R) T WIDENER these are in 1 cell so trying to put the letter in the brackets in there own cell and each name in there own cell. Hope i explained it right, any help would be appreciated. Im using office 365.
Thanks in adavance
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

jtakw

Well-known Member
Joined
Jun 29, 2014
Messages
6,007
Office Version
  1. 2016
Platform
  1. Windows
Hi,

Answer to your 1st question:

Book3.xlsx
ABC
1cincinnati atArizonacincinnatiArizona
2cincinnati atSan FranciscocincinnatiSan Francisco
3San Francisco atSan DiegoSan FranciscoSan Diego
Sheet908
Cell Formulas
RangeFormula
B1:B3B1=LEFT(A1,FIND(" at",A1)-1)
C1:C3C1=MID(A1,FIND(" at",A1)+3,99)


Need clarification for your 2nd question.

(R) T MAHLE (R)

Are there Always 2 Single letters in brackets?
Does it Always start with the 1st bracket containing a Single letter?
 

Bubba49

New Member
Joined
Apr 1, 2020
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Thanks for the quick reply and yes there's either an (L) or (R) in brackets before each name in the cell and there would only be 2 names in the cell also
 

jtakw

Well-known Member
Joined
Jun 29, 2014
Messages
6,007
Office Version
  1. 2016
Platform
  1. Windows
Both answers:

Book3.xlsx
ABC
1cincinnati atArizonacincinnatiArizona
2cincinnati atSan FranciscocincinnatiSan Francisco
3San Francisco atSan DiegoSan FranciscoSan Diego
4
5
6(R) T MAHLE (R) T WIDENERRR
Sheet908
Cell Formulas
RangeFormula
B1:B3B1=LEFT(A1,FIND(" at",A1)-1)
C1:C3C1=MID(A1,FIND(" at",A1)+3,99)
B6B6=MID(A6,2,1)
C6C6=MID(A6,FIND("(",A6,2)+1,1)
 

Bubba49

New Member
Joined
Apr 1, 2020
Messages
9
Office Version
  1. 365
Platform
  1. Windows

jtakw

Well-known Member
Joined
Jun 29, 2014
Messages
6,007
Office Version
  1. 2016
Platform
  1. Windows

ADVERTISEMENT

Missed that one, just came back from market.

Book3.xlsx
ABC
1cincinnati atArizonacincinnatiArizona
2cincinnati atSan FranciscocincinnatiSan Francisco
3San Francisco atSan DiegoSan FranciscoSan Diego
4
5
6(R) T MAHLE (R) T WIDENERRR
7T MAHLET WIDENER
Sheet908
Cell Formulas
RangeFormula
B1:B3B1=LEFT(A1,FIND(" at",A1)-1)
C1:C3C1=MID(A1,FIND(" at",A1)+3,99)
B6B6=MID(A6,2,1)
C6C6=MID(A6,FIND("(",A6,2)+1,1)
B7B7=TRIM(MID(LEFT(A6,FIND("(",A6,2)-1),4,99))
C7C7=TRIM(MID(A6,FIND(")",A6,4)+1,99))
 

Bubba49

New Member
Joined
Apr 1, 2020
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Missed that one, just came back from market.

Book3.xlsx
ABC
1cincinnati atArizonacincinnatiArizona
2cincinnati atSan FranciscocincinnatiSan Francisco
3San Francisco atSan DiegoSan FranciscoSan Diego
4
5
6(R) T MAHLE (R) T WIDENERRR
7T MAHLET WIDENER
Sheet908
Cell Formulas
RangeFormula
B1:B3B1=LEFT(A1,FIND(" at",A1)-1)
C1:C3C1=MID(A1,FIND(" at",A1)+3,99)
B6B6=MID(A6,2,1)
C6C6=MID(A6,FIND("(",A6,2)+1,1)
B7B7=TRIM(MID(LEFT(A6,FIND("(",A6,2)-1),4,99))
C7C7=TRIM(MID(A6,FIND(")",A6,4)+1,99))
Thanks for help, I'm still learning.
 

Watch MrExcel Video

Forum statistics

Threads
1,130,257
Messages
5,641,168
Members
417,195
Latest member
Vishal kumar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top