[
Home
] [
FAQ
] [
Search
] [
Memberlist
] [
Usergroups
] [
Register
]
[
Profile
] [
Log in to check your private messages
] [
Log in
]
tip: how to extract the last word or last name in a cell
OOoForum.org Forum Index
->
OpenOffice.org Calc
View previous topic
::
View next topic
Author
Message
rajaiskandarshah
General User
Joined: 08 Nov 2005
Posts: 11
Location: Malaysia
Posted: Tue Oct 28, 2008 10:28 pm
Post subject: tip: how to extract the last word or last name in a cell
If you need to extract the last word or last name in a cell, you can use the following formula
=RIGHT(C1;LEN(C1)-FIND("*";SUBSTITUTE(C1;" ";"*";LEN(C1)-LEN(SUBSTITUTE(C1;" ";"")))))
i have an explanation of the formula on my blog:
http://software.krimnet.com/open-source/how-extract-last-word-or-name-a-cell-using-openofficeorg.htm
Back to top
Villeroy
Super User
Joined: 04 Oct 2004
Posts: 10065
Location: Germany
Posted: Fri Oct 31, 2008 9:38 am
Post subject:
Very smart. Thank you very much.
_________________
Rest in peace, oooforum.org
Get help on
http://forum.openoffice.org
Back to top
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
OOoForum.org Forum Index
->
OpenOffice.org Calc
All times are GMT - 8 Hours
Page
1
of
1
Jump to:
Select a forum
OpenOffice.org Forums
----------------
Setup and Troubleshooting
OpenOffice.org Writer
OpenOffice.org Calc
OpenOffice.org Impress
OpenOffice.org Draw
OpenOffice.org Math
OpenOffice.org Base
OpenOffice.org Macros and API
OpenOffice.org Code Snippets
Community Forums
----------------
General Discussion
Site Feedback
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
edit your posts in this forum
You
cannot
delete your posts in this forum
You
cannot
vote in polls in this forum
Powered by
phpBB
© 2001, 2005 phpBB Group