A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Text



 
 
Thread Tools Display Modes
  #1  
Old October 10th, 2009, 06:54 PM posted to microsoft.public.excel.misc
nc
external usenet poster
 
Posts: 120
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  
Old October 10th, 2009, 06:59 PM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
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  
Old October 10th, 2009, 07:16 PM posted to microsoft.public.excel.misc
nc
external usenet poster
 
Posts: 120
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  
Old October 11th, 2009, 05:16 AM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
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  
Old October 11th, 2009, 09:55 AM posted to microsoft.public.excel.misc
nc
external usenet poster
 
Posts: 120
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

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:03 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.