View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default too long sumif help

=SUMPRODUCT((MOD(ROW(A1:E201),2)=1)*(A1:E201="a"), A2:E202)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Jaan" wrote in message
...
Hi
Could I create short formula


=SUMIF(A1:E1;G$4;A2:E2)+SUMIF(A3:E3;G$4;A4:E4)+SUM IF(A5:E5;G$4;A6:E6)+SUMIF(
A7:E7;G$4;A8:E8)+SUMIF(A9:E9;G$4;A10:E10)+SUMIF(A1 1:E11;G$4;A12:E12)+SUMIF(A
13:E13;G$4;A14:E14)..............+SUMIF(A201:E201; G$4;A202:E202)