Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Keith
 
Posts: n/a
Default extracting text only

I have a column in a spreadsheet that contains a code. The code starts
with 2 - 4 letters then finishes with a series of numbers.

E.G. AGB7655

How can I extract only the letters at the beginning, when I don't know
how many there are going to be?
  #2   Report Post  
CLR
 
Posts: n/a
Default

ASAP Utilities, a free Excel Add-in, has this as one of it's
features....."Delete all numbers in selection"..........it works good

http://www.asap-utilities.com/index.php?page=p_ho.php

Vaya con Dios,
Chuck, CABGx3



"Keith" wrote in message
...
I have a column in a spreadsheet that contains a code. The code starts
with 2 - 4 letters then finishes with a series of numbers.

E.G. AGB7655

How can I extract only the letters at the beginning, when I don't know
how many there are going to be?



  #3   Report Post  
Domenic
 
Posts: n/a
Default

Try the following...

=LEFT(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"0123 456789"))-1)

Hope this helps!

In article , Keith
wrote:

I have a column in a spreadsheet that contains a code. The code starts
with 2 - 4 letters then finishes with a series of numbers.

E.G. AGB7655

How can I extract only the letters at the beginning, when I don't know
how many there are going to be?

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
Converting Numbers to Text properly Shirley Munro Excel Discussion (Misc queries) 1 February 16th 05 03:01 PM
Extracting and using Text from external sources Palmley Excel Worksheet Functions 6 January 14th 05 12:22 AM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM
EXTRACTING TEXT EstherJ Excel Discussion (Misc queries) 3 December 16th 04 05:27 PM
Macro or Function to make text size to suite text Length? lbbss Excel Discussion (Misc queries) 4 December 14th 04 07:53 PM


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