excel formula - Lookup headers and selectively sum cells below it -
i trying find specific column based on month (b1) , sum cells under it. furthermore, im trying sum cells in column designated region (d1). figured excel doesn't see valid function.
=sumifs(address(match(a3,a:a,0)+10,match(b1,3:3,0)):address(match(a3,a:a,0)+1,match(b1,3:3,0)),a4:a$12,d1)
=sumifs(index($1:$1048576,0,match(b1,3:3,0)),a:a,d1)
the index($1:$1048576,0,match(b1,3:3,0))
returns whole column row 3 equals b1. sums column column equals d1.
if want limit rows 4:12 current formula:
=sumifs(index($4:$12,0,match(b1,3:3,0)),$a$4:$a$12,d1)
Comments
Post a Comment