#1   Report Post  
Posted to microsoft.public.excel.misc
nc nc is offline
external usenet poster
 
Posts: 119
Default Text

a & a 24/03/09
a & a 24-26/09/09
a & a 3/06/09
a & a

I have a column of the above similar text. I would like help to write
formula to show text without the numbers. Formula would return for example a
& a

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Text

With your text in cell A1; try the below formula in B1

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

If this post helps click Yes
---------------
Jacob Skaria


"nc" wrote:

a & a 24/03/09
a & a 24-26/09/09
a & a 3/06/09
a & a

I have a column of the above similar text. I would like help to write
formula to show text without the numbers. Formula would return for example a
& a

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
nc nc is offline
external usenet poster
 
Posts: 119
Default Text

Thanks.

What about if I wanted to add character such as / i.e show text before /

How would that change your formula?


"Jacob Skaria" wrote:

With your text in cell A1; try the below formula in B1

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

If this post helps click Yes
---------------
Jacob Skaria


"nc" wrote:

a & a 24/03/09
a & a 24-26/09/09
a & a 3/06/09
a & a

I have a column of the above similar text. I would like help to write
formula to show text without the numbers. Formula would return for example a
& a

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Text

If you mean extract text before the 1st slash
=LEFT(A1,FIND("/",A1)-1)


If this post helps click Yes
---------------
Jacob Skaria


"nc" wrote:

Thanks.

What about if I wanted to add character such as / i.e show text before /

How would that change your formula?


"Jacob Skaria" wrote:

With your text in cell A1; try the below formula in B1

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

If this post helps click Yes
---------------
Jacob Skaria


"nc" wrote:

a & a 24/03/09
a & a 24-26/09/09
a & a 3/06/09
a & a

I have a column of the above similar text. I would like help to write
formula to show text without the numbers. Formula would return for example a
& a

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.misc
nc nc is offline
external usenet poster
 
Posts: 119
Default Text

Yes. Can the fomula include a list of predefined characters?

"Jacob Skaria" wrote:

If you mean extract text before the 1st slash
=LEFT(A1,FIND("/",A1)-1)


If this post helps click Yes
---------------
Jacob Skaria


"nc" wrote:

Thanks.

What about if I wanted to add character such as / i.e show text before /

How would that change your formula?


"Jacob Skaria" wrote:

With your text in cell A1; try the below formula in B1

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

If this post helps click Yes
---------------
Jacob Skaria


"nc" wrote:

a & a 24/03/09
a & a 24-26/09/09
a & a 3/06/09
a & a

I have a column of the above similar text. I would like help to write
formula to show text without the numbers. Formula would return for example a
& a

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
Nested formula to search a text string and return specific text Barbie Excel Worksheet Functions 10 February 21st 09 07:40 AM
using a conditional suffix in text function format syntax=text(value,format_text) Brotherharry Excel Worksheet Functions 1 January 13th 09 03:03 PM
Text does not display in "Text boxs" and when wrapping text in a c Esteban Excel Discussion (Misc queries) 1 March 8th 07 11:59 PM
Counting a mixed text/number column based on text in another colum Sierra Vista Steve Excel Discussion (Misc queries) 3 December 17th 06 05:30 PM
convert a range of lowercase text to upper text or vice versa jackdaw Excel Worksheet Functions 2 May 16th 05 09:31 PM


All times are GMT +1. The time now is 08:50 AM.

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

About Us

"It's about Microsoft Excel"