Help with Extracting Names from a Cell

jstarr

New Member
Joined
Dec 1, 2014
Messages
20
I'm a huge baseball fan and I'm trying to extract a name from a spreadsheet I have. The names are listed with the position, and team all in one cell.

Example below:

[TABLE="width: 300"]
<colgroup><col></colgroup><tbody>[TR]
[TD]Mike Trout CF | LAA [/TD]
[/TR]
[TR]
[TD]Miguel Cabrera 1B | DET


How can I extract Mike Trout, and Miguel Cabrera from cells A3 and A4?[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
And I'm sure if we wait long enough there will be another suggestion so I'm not seeing why the TRIM hurts or needs to be omitted ;)

I think TRIM function goes through the whole string, checks that the character under test is a space or not, if it is, checks if the next character is also a space, if so, deletes the second space and so on. To subtract 1 seems faster and simpler than that procedure.
 
Upvote 0

Forum statistics

Threads
1,223,630
Messages
6,173,454
Members
452,514
Latest member
cjkelly15

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