gruss-software.co.uk Forum Index The Ultimate Betting Exchange Software
gruss-software.co.uk
FAQ  FAQ   Search  Search   Memberlist  Memberlist   Usergroups  Usergroups
Register  ::  Log in Log in to check your private messages


Post new topic  Reply to topic
 exel code « View previous topic :: View next topic » 
Author Message
dflowe
PostPosted: Sun Apr 08, 2012 2:34 pm    Post subject: exel code Reply with quote



Joined: 31 Dec 2005
Posts: 82
Location: Midlands

Hi, I am trying to get a 1 if a race title string at A1 contains the text Chs
I have tried find but it gets a 1 if it contains Chs but error if not and I need a 0, any ideas?
thanks
Dave
Back to top
View user's profile Send private message Send e-mail Visit poster's website
osknows
PostPosted: Sun Apr 08, 2012 2:39 pm    Post subject: Reply with quote



Joined: 28 Jul 2009
Posts: 792

Hi Dave,

This Excel formula should do what you need

=IF(ISERROR(FIND("Chs",A1,1)),0,1)
Back to top
View user's profile Send private message
dflowe
PostPosted: Sun Apr 08, 2012 2:48 pm    Post subject: Reply with quote



Joined: 31 Dec 2005
Posts: 82
Location: Midlands

Oh bugger, I tried ERROR but not ISERROR, thanks for that will bang it in
thanks
Dave
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic 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


DAJ Glass (1.0.8) template by Dustin Baccetti
EQ graphic based off of a design from www.freeclipart.nu
Powered by phpBB © 2001, 2005 phpBB Group