Find function

vmjan02

Well-known Member
Joined
Aug 15, 2012
Messages
1,061
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
Hi,

I have a data in column A as

ASR903/I-AP-VKPM-ENB-0178/VKPMGLNMPAR001/172.16.98.137/PSU fail 2/10 --> a1
ASR903//I-MH-PNJI-ENB-0070//PNJISNGLPAR002//172.16.98.38//p0 unknown --> a2
ASR-903// I-WB-ASSL-ENB-0077 *ASSLNCPRPAR001/172.16.58.119//P1 fail --> a3
ASR903/VDDRRMNGPAR001/I-GJ-VDDR-ENB-0123/IM37511249/P1 PSU is in failed state -->a4 and so on


Is there a function to only get (in column B output)
I-AP-VKPM-ENB-0178 --> from a1
I-MH-PNJI-ENB-0070 --> from a2
I-WB-ASSL-ENB-0077 --> from a3
I-GJ-VDDR-ENB-0123 --> from a4
all the len is 18

Is there a function to only get (in column C output)
VKPMGLNMPAR001 --> from a1
PNJISNGLPAR002 --> from a2
ASSLNCPRPAR001 --> from a3
VDDRRMNGPAR001 --> from a4
all the len is 14
 
Last edited:
This would work with all examples you have provided so far:

=MID(A1, SEARCH("PAR00?/",A1)-8, 14)
 
Upvote 0

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,215,310
Messages
6,124,188
Members
449,147
Latest member
sweetkt327

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