ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Cutting a figure out of a string of text. (https://www.excelbanter.com/excel-discussion-misc-queries/197458-cutting-figure-out-string-text.html)

infinite1013

Cutting a figure out of a string of text.
 
If I have a string of text in this format, AS&D DF ZS017 46336, is there a
formula that will allow me to cut out only the S017? This is the only figure
that I need out of the string and have about 16,000 cells that require the
needed formula. Thanks.


Pete_UK

Cutting a figure out of a string of text.
 
Will you always have the same number of characters to the left of the
string that you want to extract? If so, then you can use this:

=MID(A1,10,4)

with your code in A1. Copy down as required.

Hope this helps.

Pete

On Aug 4, 4:05*pm, infinite1013
wrote:
If I have a string of text in this format, AS&D DF ZS017 46336, is there a
formula that will allow me to cut out only the S017? This is the only figure
that I need out of the string and have about 16,000 cells that require the
needed formula. Thanks.




All times are GMT +1. The time now is 04:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com