Excel: Sum columns and rows if criteria is met -
i have sheet product names in column , dates there on. each date there numbers of how many pieces of product have made. i'm trying sum numbers based on product type, i.e.:
       k       l      m     ...          30.8.   31.8.   1.9.   ... mad23     2       0      45    ... mmr32     5       7      33    ... mad17    17      56       0    ...  mad:    120  (2+0+45+17+56+0) mmr:     45  (5+7+33) what i'm doing sum row first:
=sum(k6:gn6)
mad23 = 47 mmr32 = 45 mad32 = 73 and sum numbers in column j based on part of product name in column i:
=sumif(sheet1!i6:i775;"mad*";sheet1!j6:j775)
mad = 120 mmr = 45 is possible one formula per criteria?
just trying on 3 rows, get
=sum($k$6:$m$8*(left($i$6:$i$8,len(i10)-1)=left(i10,len(i10)-1))) which array formula , must entered ctrlshiftenter
that's assuming i10 going contain characters followed colon , want match first characters of i6:i8.

Comments
Post a Comment