Reply
Extract last two words in a cell using openoffice
Old 12-15-2009, 09:57 AM Extract last two words in a cell using openoffice
Junior Talker

Posts: 3
Name: Lylle Samuels
Trades: 0
I need a formula to extract the last two words in a cell using openoffice. For example a cell contains the words: "enjoy the rest of your day" I would like to extract "your day" using a formula. I know how to extract the last word:

Code:
=RIGHT(A1;LEN(A1)-FIND("*";SUBSTITUTE(A1;" ";"*";LEN(A1)-LEN(SUBSTITUTE(A1;" ";"")))))
which results in "day". But i need a formula for the last two words.
Help is appreciated!!!
SamLyle is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 12-15-2009, 02:33 PM Re: Extract last two words in a cell using openoffice
Brian07002's Avatar
Defies a Status

Posts: 1,824
Name: ...
Location: ...
Trades: 0
The same exact way you extracted the last word * 2
Brian07002 is offline
Reply With Quote
View Public Profile
 
Old 12-22-2009, 12:22 PM Re: Extract last two words in a cell using openoffice
Novice Talker

Posts: 12
Name: Andrew Lechlak
Trades: 0
Did that really solve the issue? Seems to simple.
__________________
Werdna-FX
Lechlak is offline
Reply With Quote
View Public Profile Visit Lechlak's homepage!
 
Reply     « Reply to Extract last two words in a cell using openoffice
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.09669 seconds with 13 queries