Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tb tb is offline
external usenet poster
 
Posts: 84
Default Need Formula For Extracting Part Numbers

I am using Excel 2010 for Windows.

I have a database of part numbers like this one:

10_32M2A050A002 CYLINDER

Please note that there are two blank spaces between "32M2A050A002" and
"CYLINDER".

I need a formula that will extract each string after the unerscore (_)
sign and the two blank spaces.

So the end result would be this:
32M2A050A002

Thanks for your help.
--
tb
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 538
Default Need Formula For Extracting Part Numbers

tb wrote:

I am using Excel 2010 for Windows.

I have a database of part numbers like this one:

10_32M2A050A002 CYLINDER

Please note that there are two blank spaces between "32M2A050A002" and
"CYLINDER".

I need a formula that will extract each string after the unerscore (_)
sign and the two blank spaces.

So the end result would be this:
32M2A050A002

Thanks for your help.


Assuming your text is in A1:

=MID(A1,FIND("_",A1)+1,FIND(" ",A1)-FIND("_",A1)-1)

--
The clouds move lazily across the sky,
and everybody thinks they're stupid.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default Need Formula For Extracting Part Numbers

Hi,

Am Tue, 31 May 2016 19:50:17 +0000 (UTC) schrieb tb:

10_32M2A050A002 CYLINDER
I need a formula that will extract each string after the unerscore (_)
sign and the two blank spaces.


or a bit shorter:
=MID(LEFT(A1,FIND(" ",A1)-1),FIND("_",A1)+1,99)


Regards
Claus B.
--
Windows10
Office 2016
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tb tb is offline
external usenet poster
 
Posts: 84
Default Need Formula For Extracting Part Numbers

On 5/31/2016 at 2:50:17 PM tb wrote:

I am using Excel 2010 for Windows.

I have a database of part numbers like this one:

10_32M2A050A002 CYLINDER

Please note that there are two blank spaces between "32M2A050A002" and
"CYLINDER".

I need a formula that will extract each string after the unerscore (_)
sign and the two blank spaces.

So the end result would be this:
32M2A050A002

Thanks for your help.


Thank you Auric__ and Claus.

--
tb
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extracting a Part of a Formula as Text cardan Excel Programming 5 June 7th 12 05:33 PM
Help Extracting Numbers formula Kwokman3 Excel Discussion (Misc queries) 14 June 1st 09 03:57 AM
Formula for Extracting Alphabetic Part of a Product Code ob3ron02 Excel Worksheet Functions 5 October 30th 04 12:35 PM
Formula for Extracting Alphabetic Part of a Product Code ob3ron02 Excel Worksheet Functions 1 October 29th 04 07:05 PM
Formula for Extracting Alphabetic Part of a Product Code ob3ron02 Excel Worksheet Functions 1 October 29th 04 06:07 PM


All times are GMT +1. The time now is 12:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"