View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
duane
 
Posts: n/a
Default Sum Count of Criteria Every 3rd Row

if I read your question right you want to sum the occurances of 50, but only
those in every 3rd row.

So, for the range of a1:a10, summing those 50's in rows 1,4,7,10

=SUMPRODUCT((A1:A10=50)*(MOD(ROW(A1:A10)-1,3)=0)*(A1:A10))

you could refer to cells with the values of 50 and 3 in the formula if
desired vs the hard coding of the values in the formula

"Sam via OfficeKB.com" wrote:

Hi All,

I would like to Sum the Count of numerical values in Every 3rd Row BUT ONLY
IF the value(s) equals a specific criteria.

Example:
Sum Count of Every 3rd Row that has a value of 50. The criteria will vary.

Cheers,
Sam

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200512/1