View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
vener
 
Posts: n/a
Default countif criteria


Chris Morley Wrote:
Please some one help. i need to count cells over 2 colomns only if
those
colomns contain yes.

col 1 col 2
yes no
yes yes
yes no

The formula i need, i have used before but lost...! typical. I have
tried
using a countif formula and i am sure this was used before with a equal
to

=COUNTIF(Sheet1!K:K,Sheet1!I:I="yes") this returns a valye of 0 and i
know
that it shoule have counted 6. can any one help

Chris

i have tried =countif(K:K



try this
=countif(K:I,"yes")


--
vener
------------------------------------------------------------------------
vener's Profile: http://www.excelforum.com/member.php...o&userid=35486
View this thread: http://www.excelforum.com/showthread...hreadid=552588