View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Count multiple condition

=SUMPRODUCT((MOD(COLUMN(D2:K20),2)=0)*(D2:K20))

adjust the range to suit

--

HTH

RP
(remove nothere from the email address if mailing direct)


"whygh" wrote in
message ...

Hell everyone,

I want to count the cells of column, the condition are
1. column Number is even. such as Column D,F,H...
2. the value if cell is greater then zer0.

How to write the formula , I have no idea.

Thanks


--
whygh
------------------------------------------------------------------------
whygh's Profile:

http://www.excelforum.com/member.php...o&userid=29679
View this thread: http://www.excelforum.com/showthread...hreadid=493965