Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Dbase Beginner
 
Posts: n/a
Default How do I extract 3 numbers inside a longer number to another column ?


Hi,


How do I extract the 008 from e.g. CV002-008-004_001 or the 001 from
CV002-001_001 to another column ?


Thanks in advance !


--
Dbase Beginner
------------------------------------------------------------------------
Dbase Beginner's Profile: http://www.excelforum.com/member.php...o&userid=20778
View this thread: http://www.excelforum.com/showthread...hreadid=503412

  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default How do I extract 3 numbers inside a longer number to another column ?


Try this:

With CV002-008-004_001 in A1:
B1: =LEFT(MID(A1,FIND("-",A1)+1,255),3)

That returns 008

Does that help?

Regards,
Ron


--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419
View this thread: http://www.excelforum.com/showthread...hreadid=503412

  #3   Report Post  
Posted to microsoft.public.excel.misc
MBo
 
Posts: n/a
Default How do I extract 3 numbers inside a longer number to another colum

Use the following fromula
=MID(your cell,7,3)

This works only if you "008"s or "001"s are always 7 characters from the
left...

MBo


"Dbase Beginner" wrote:


Hi,


How do I extract the 008 from e.g. CV002-008-004_001 or the 001 from
CV002-001_001 to another column ?


Thanks in advance !


--
Dbase Beginner
------------------------------------------------------------------------
Dbase Beginner's Profile: http://www.excelforum.com/member.php...o&userid=20778
View this thread: http://www.excelforum.com/showthread...hreadid=503412


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
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
How do I find the last number in a column of numbers? Shyam Excel Worksheet Functions 2 August 26th 05 03:05 AM
look up number in column eioval Excel Worksheet Functions 2 July 30th 05 08:16 PM
Consecutive Numbers down a column not to Exceed 49 Nelson Excel Worksheet Functions 6 July 18th 05 09:32 PM


All times are GMT +1. The time now is 12:21 AM.

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"