Find a word combination of letters and numbers

nburaq

Board Regular
Joined
Apr 2, 2021
Messages
220
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi,

I have a data set of descriptions and I need to find words in descriptions combined with numbers and letters. As an example cell A2 includes a sentence "Repair A4040D" so cell B2 should include information "A4040D". The equipment number is combination of letters and numbers max of 6 characters. Is there any possibility to extract equipment information with any formula ?

Thanks for your help and comments!
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
One example is not enough to provide a reliable best method. Could we have 5-10 examples of what could be in column A and the corresponding expected results (preferably with XL2BB so that we can easily copy to test with)
Ensure that the col A samples demonstrate any sort of variations that can occur in that column.
 
Upvote 0
One example is not enough to provide a reliable best method. Could we have 5-10 examples of what could be in column A and the corresponding expected results (preferably with XL2BB so that we can easily copy to test with)
Ensure that the col A samples demonstrate any sort of variations that can occur in that column.
Thanks for quick reply. Since this is not personal pc, there is no option to install XL2BB. But I would like to share small data set. In column B, you will see what I want to achieve with formula.(end result) if there is no combination of letters and numbers in description it means there is no equipment described.


DescriptionEquipment
Broken belt of C210C210
Bearing replacement A601dA601D
Bad product. Waited for new product
A522 chain replacement + B117 shaft repairA522, B117
Damaged engine A400A400
Startup problems C505 (No feeding)C505
Problems with pump
Leakege problem of pump 155D155D
Broken rail B100/A/BB100/A/B
A1212 and A1213 no electricityA1212,A1213

Thanks again!
 
Upvote 0
Thanks for the sample data - it certainly shows that the one example in post 1 was insufficient to understand the full requirement. ;)

See if this helps.

23 12 12.xlsm
AB
1DescriptionEquipment
2Broken belt of C210C210
3Bearing replacement A601dA601d
4Bad product. Waited for new product 
5A522 chain replacement + B117 shaft repairA522, B117
6Damaged engine A400A400
7Startup problems C505 (No feeding)C505
8Problems with pump 
9Leakege problem of pump 155D155D
10Broken rail B100/A/BB100/A/B
11A1212 and A1213 no electricityA1212, A1213
Equip No
Cell Formulas
RangeFormula
B2:B11B2=TEXTJOIN(", ",1,BYCOL(TEXTSPLIT(A2," "),LAMBDA(c,IF(COUNT(FIND(SEQUENCE(10)-1,c))>0,c,""))))
 
Upvote 1
Solution
Thanks for the sample data - it certainly shows that the one example in post 1 was insufficient to understand the full requirement. ;)

See if this helps.

23 12 12.xlsm
AB
1DescriptionEquipment
2Broken belt of C210C210
3Bearing replacement A601dA601d
4Bad product. Waited for new product 
5A522 chain replacement + B117 shaft repairA522, B117
6Damaged engine A400A400
7Startup problems C505 (No feeding)C505
8Problems with pump 
9Leakege problem of pump 155D155D
10Broken rail B100/A/BB100/A/B
11A1212 and A1213 no electricityA1212, A1213
Equip No
Cell Formulas
RangeFormula
B2:B11B2=TEXTJOIN(", ",1,BYCOL(TEXTSPLIT(A2," "),LAMBDA(c,IF(COUNT(FIND(SEQUENCE(10)-1,c))>0,c,""))))
It works like charm! Thanks a lot and I agree that more data was absolutely required.
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,975
Members
449,095
Latest member
Mr Hughes

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