Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 75
Default Extract some info from a string

I'm sure this is easy for you guys!
How would you extract some info from a string.
I have some codes and would like to strip the first two characters off the
string.
Here is the example:
What I have: NM055
What I need: 055
Any help would be appreciated! Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Extract some info from a string

Assuming that the first value is in A1 you could use the following formula:

=RIGHT(A1,LEN(A1)-2)

Or if the lenght is always the same you can use:

=RIGHT(A1,3)
--
Kevin Backmann


"Mathew" wrote:

I'm sure this is easy for you guys!
How would you extract some info from a string.
I have some codes and would like to strip the first two characters off the
string.
Here is the example:
What I have: NM055
What I need: 055
Any help would be appreciated! Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 75
Default Extract some info from a string

Kevin: thanks it worked great!

"Kevin B" wrote:

Assuming that the first value is in A1 you could use the following formula:

=RIGHT(A1,LEN(A1)-2)

Or if the lenght is always the same you can use:

=RIGHT(A1,3)
--
Kevin Backmann


"Mathew" wrote:

I'm sure this is easy for you guys!
How would you extract some info from a string.
I have some codes and would like to strip the first two characters off the
string.
Here is the example:
What I have: NM055
What I need: 055
Any help would be appreciated! Thanks!

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
extract " " space from middle of a string Rasoul Khoshravan Excel Worksheet Functions 5 October 11th 06 12:50 PM
Extract from string mark Excel Discussion (Misc queries) 2 August 8th 06 12:38 PM
Extract number from text/number string.. nastech Excel Discussion (Misc queries) 5 July 5th 06 11:21 PM
EXTRACT NUMBERS FROM TEXT STRING fiber_doc Excel Worksheet Functions 4 November 28th 05 06:40 PM
Extract hyperlink string from excel cell Ryan Sapien Links and Linking in Excel 1 January 20th 05 12:24 AM


All times are GMT +1. The time now is 06:51 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"