Parsing Text

DataBlake

Well-known Member
Joined
Jan 26, 2015
Messages
781
Office Version
  1. 2016
Platform
  1. Windows
So i have a unique issue that i don't have the slightest clue how to solve. So in column C i need to seperate "Pirelli Scorpion A/S" , "Pirelli PZero Nero GT", "Lexani LXHT-106". Basically the first item is a size which we need to exclude xxx/xxRxx or xxx xxRxx and then followed by what i need: the description. followed by a load, speed, and style which need to be exluded. Unfortunately some of the things are irregular like line 30. what i need is "Azenis FK510"

i know this looks all over the place but here are some helpful notes:
  1. A/T, H/T, M/T, A/S are included in the descriptions i need
  2. The load/speed to exclude are located in rows E and F
  3. XL, BLK, SL, MO, NO, N0, MO on the ends or immediately after the size should be excluded.
I will link the excel sheet in case there is anything i missed that you can spot. Any help would be GREATLY appreciated.

CQkg6Tc.png


https://docs.google.com/spreadsheet...vBpAluy_U6PuazAW8gx5zMUKa-bZr/pub?output=xlsx
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Try
=Left(Trim(Right(C2,Len(C2)-Len(D2))),Search(E2,Trim(Right(C2,Len(C2)-Len(D2))))

OhtycBy.png


Your solution (column J) works for some of them, but i'm thinking this may be a VBA solution. example: on line 1 there is a +!, #Value is returned on ones where XL is in the front, etc. It does help clean up and make my job easier though <3 appreciated.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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