Excel - COUNTIF for multi column data set with filterable criterium -
i have 14 column range of survey data presented in 1's, 0's , "null". in column, have company names survey submitted. want count number of 1's (satisfied), 0's (unsatisfied) , nulls (no answer), , average satisfaction rate, each company name.
for example, on grand total row of pivot table, counting satisfactory marks =countif(table1[[q1]:[q14]],1) can't figure out how limit count rows specific company name.
edit
here screenshot of sheet trying describe. http://imgur.com/twwrvov
with linga’s countifs suggestion, wrote =countifs(table1[[q1]:[q14]],1,table1[company name],”company1”)
, #value error.
i believe error because number of cells in 2 ranges don’t align, tried including each q column separate criteria range like:
=countifs(table1[q1],1,table1[q2],1,…table1[company name],”company1”).
the formula validated count not correct.
after seeing snap hope have use sumif formula. please see snap reference first need sum each rows data, use formula
=sumif(table1[comp.name],"comp.name",table1[sum])
syntax:
=sumif(criteria_range,criteria,sum_range)
Comments
Post a Comment