Extracting data

Bubba49

New Member
Joined
Apr 1, 2020
Messages
20
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

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
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?
 
Upvote 0
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
 
Upvote 0
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))
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,213,482
Messages
6,113,915
Members
448,532
Latest member
9Kimo3

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
Back
Top