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 » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Extracting text



 
 
Thread Tools Display Modes
  #1  
Old April 6th, 2004, 02:08 PM
Nemo
external usenet poster
 
Posts: n/a
Default Extracting text

Hi all,

I have the following data in column a. How can I write a
formula that will extract the last part i.e. the a, ab,
abc, abcd, abcde.

a
1 Text Text a
2 Text Text ab
3 Text Text abc
4 Text Text abcd
5 Text Text abcde


Many thanks
  #2  
Old April 6th, 2004, 02:18 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default Extracting text

Hi
try the following array formula (entered with CTRL+SHIFT+ENTER):
=MID(A1,MAX(IF(MID(A1,ROW(INDIRECT("1:1024")),1)="
",ROW(INDIRECT("1:1024"))))+1,1024)

and copy down for all rows

--
Regards
Frank Kabel
Frankfurt, Germany

"Nemo" schrieb im Newsbeitrag
...
Hi all,

I have the following data in column a. How can I write a
formula that will extract the last part i.e. the a, ab,
abc, abcd, abcde.

a
1 Text Text a
2 Text Text ab
3 Text Text abc
4 Text Text abcd
5 Text Text abcde


Many thanks


  #3  
Old April 6th, 2004, 02:21 PM
GerryK
external usenet poster
 
Posts: n/a
Default Extracting text

Try
=RIGHT(A1,LEN(A1)-FIND("^",SUBSTITUTE(A1,CHAR(32),"^",LEN
(A1)-LEN(SUBSTITUTE(A1,CHAR(32),"")))))

-----Original Message-----
Hi all,

I have the following data in column a. How can I write a
formula that will extract the last part i.e. the a, ab,
abc, abcd, abcde.

a
1 Text Text a
2 Text Text ab
3 Text Text abc
4 Text Text abcd
5 Text Text abcde


Many thanks
.

  #4  
Old April 6th, 2004, 02:33 PM
Norman Harker
external usenet poster
 
Posts: n/a
Default Extracting text

Hi Nemo!

Use:
=MID(A5,FIND("#",SUBSTITUTE(A5," ","#",LEN(A5)-LEN(SUBSTITUTE(A5,"
",""))))+1,255)

--
Regards
Norman Harker MVP (Excel)
Sydney, Australia

Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.
"Nemo" wrote in message
...
Hi all,

I have the following data in column a. How can I write a
formula that will extract the last part i.e. the a, ab,
abc, abcd, abcde.

a
1 Text Text a
2 Text Text ab
3 Text Text abc
4 Text Text abcd
5 Text Text abcde


Many 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 10:34 AM.


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