Extracting text/numbers after a specific text

silverkay

New Member
Joined
Nov 1, 2021
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I am looking for help with regard to extracting text/numbers after a specific text in Excel, below are two examples

"Manufacturer Silver Tire Width 205 Dia 21 Qty 1"
"Manufacturer Rubber Tire Width 213 Dia 23 Qty 3"

I am looking to extract
1) Text after "Manufacturer", e.g. "Silver" or "Rubber"
2) Number after Width, e.g. 205 or 213
3) Number after Dia, e.g. 21 or 23
4) Number after Qty. 1 or 3

Any help will be greatly appreciated, thank you!
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
I couldn't figure out how to work around the LET function, and I got #NAME even when I copypasted the formula directly.
As has been said, you may not have the LET function yet, in which case my suggestion would become.
+Fluff 1.xlsm
ABCDE
1ManufacturerWidthDiaQty
2Manufacturer Silver Tire Width 205 Dia 21 Qty 1Silver 205211
3Manufacturer Rubber Tire Width 213 Dia 23 Qty 3Rubber 213233
Data
Cell Formulas
RangeFormula
B2:E3B2=LEFT(MID($A2,FIND(B$1,$A2)+LEN(B$1)+1,99),FIND(" ",MID($A2,FIND(B$1,$A2)+LEN(B$1)+1,99)&" "))
 
Upvote 0
As has been said, you may not have the LET function yet, in which case my suggestion would become.
+Fluff 1.xlsm
ABCDE
1ManufacturerWidthDiaQty
2Manufacturer Silver Tire Width 205 Dia 21 Qty 1Silver 205211
3Manufacturer Rubber Tire Width 213 Dia 23 Qty 3Rubber 213233
Data
Cell Formulas
RangeFormula
B2:E3B2=LEFT(MID($A2,FIND(B$1,$A2)+LEN(B$1)+1,99),FIND(" ",MID($A2,FIND(B$1,$A2)+LEN(B$1)+1,99)&" "))
This worked well! Thank you for your help.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,889
Messages
6,122,097
Members
449,065
Latest member
albertocarrillom

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