OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Correct usage of Built-in formula FIND

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
nhall
General User
General User


Joined: 11 Jun 2004
Posts: 31
Location: West of Boston, MA, USA

PostPosted: Mon Aug 30, 2004 7:17 am    Post subject: Correct usage of Built-in formula FIND Reply with quote

As a learning exercise, I have saved many of the names associated with SPAM email sent to me. I have stored these names in a Calc spreadsheet. My goal is to parse the SPAM full names into FirstName and LastName and then generate a ShortName. Some of the names include a middle initial terminated by the special character PERIOD (.). Using the following formula in a spreadsheet cell, I can parse the SPAM name based on FINDing a BLANK " "

=IF (FIND(" ";SPAMName;1)<1);"A";"B"

where "A" & "B" are replace with appropriate formulas to isolate the first name plus initial and the first name.

The problem is that when I change the search argument in FIND from BLANK to Period, the formula becomes invalid and results in #VALUE. Can anyone tell me how to make PERIOD a valid search argument?
Norm
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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