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  

finding certain characters within a string within multiple cells



 
 
Thread Tools Display Modes
  #1  
Old April 15th, 2004, 07:17 AM
Gav !!
external usenet poster
 
Posts: n/a
Default finding certain characters within a string within multiple cells

Hi Folks, I am hoping someone can put me straight on this one. In the cells
listed within the array below I want to look to see if the word forfeit
appears anywhere in the cell. For looking at one cell this formula works
fine
=IF(MID(AJ11,FIND("for",AJ11,1),7)="forfeit","Yes" ,"No")

but to try and do it an a larger scale, hmmmm doesn't want to play. Here is
what I was trying. If anyone wants to take a crack at it, it would be much
appreciated.

=IF(MID("{C9,E9,G9,I9,K9,M9,O9,Q9,S9,U9,W9,Y9,AA9} ",FIND("forfeit","{C9,E9,G
9,I9,K9,M9,O9,Q9,S9,U9,W9,Y9,AA9}",1),7)="forfeit" ,"Yes","No")

Regards

Gav !!


  #2  
Old April 15th, 2004, 08:27 AM
Frank Kabel
external usenet poster
 
Posts: n/a
Default finding certain characters within a string within multiple cells

Hi
if you want to check if this word is somethere in teh range try
=IF(COUNTIF(A1:A100,"*forfeit*")0,"Yes","No")

--
Regards
Frank Kabel
Frankfurt, Germany


Gav !! wrote:
Hi Folks, I am hoping someone can put me straight on this one. In the
cells listed within the array below I want to look to see if the word
forfeit appears anywhere in the cell. For looking at one cell this
formula works fine
=IF(MID(AJ11,FIND("for",AJ11,1),7)="forfeit","Yes" ,"No")

but to try and do it an a larger scale, hmmmm doesn't want to play.
Here is what I was trying. If anyone wants to take a crack at it, it
would be much appreciated.


=IF(MID("{C9,E9,G9,I9,K9,M9,O9,Q9,S9,U9,W9,Y9,AA9} ",FIND("forfeit","{C9
,E9,G
9,I9,K9,M9,O9,Q9,S9,U9,W9,Y9,AA9}",1),7)="forfeit" ,"Yes","No")

Regards

Gav !!


 




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 11:31 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.