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) 

enter image description here

=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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -