View Single Post
  #8   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

canix,

=IF(COUNTIF(A1:A10,"apple")0,"x"',"")

HTH,
Bernie
MS Excel MVP


"canix" wrote in message
...

=COUNTIF(A1:A10,"apple")

I can put the formula like this =COUNTIF(A1:A10,"apple") in cell b1 ,
and have another formula =if(b10,"x"',"") in another cell.

The above method should give me the answer, but I want a simple formula
in one cell instead of have two formula laying around, Since this should
be very simple.


--
canix
------------------------------------------------------------------------
canix's Profile: http://www.excelforum.com/member.php...o&userid=25962
View this thread: http://www.excelforum.com/showthread...hreadid=393304