Article ID: 136738
Article Last Modified on 8/17/2005
A1: 1 A2: 1 A3: 1 A4: =SUM(A1:A3)the SUM function in cell A4 returns a value of 3. If you then hide Row 2, the SUM function still returns a value of 3.
=SUM(IF(MOD(ROW(A1:A3),2)=1,A1:A3,0))If you enter this as an array formula in cell A4 in the above example, it returns a value of 2.
=SUM(IF(MOD(ROW(A1:A3),2)=0,A1:A3,0))If you enter this as an array formula in cell A4 in the above example, it returns a value of 1.
Additional query words: 5.00c 5.00a 7.00a 97 XL97 XL7 XL5 XL4 XL3 every other alternate XL
Keywords: kbhowto KB136738