Extracting text formula

jack109

Board Regular
Joined
May 10, 2020
Messages
55
Office Version
  1. 365
Platform
  1. Windows
Hi

Is there a way to extract part of text string in cell and modify it?
Using the data below as an example could a formula remove the text after "/" and before ":" with UPPER used to so that the two team names are in uppercase? I'm currently using text to columns, then a UPPER formula and copying / pasting and manually changing the "V" to "v" but was wondering if there is another way


Football / Eintracht Frankfurt v Bochum : First Half Goals 1.5
Football / PEC Zwolle v Jong FC Utrecht : First Half Goals 0.5
Football / Zaglebie Lubin v Warta Poznan : Match Odds

So I would like to turn the above to

EINTRACHT FRANKFURT v BOCHUM
PEC ZWOLLEv JONG FC UTRECHT
ZAGLEBIE LUBIN v WARTA POZNAN

Would be great if there a way to do this

Cheers
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Fantastic but is there any way the "v" between the teams could be dropped to lowercase
 
Upvote 0
Fantastic but is there any way the "v" between the teams could be dropped to lowercase

=SUBSTITUTE(UPPER(INDEX(TEXTSPLIT(A2,"/ "," :",1),1,2))," V "," v ")

I've managed to do it using this formula. Is there anything wrong with this that could provide further problems. I looks ok so far on my data
 
Upvote 0
Solution

Forum statistics

Threads
1,223,677
Messages
6,173,798
Members
452,535
Latest member
berdex

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