excel - If a name in a column is a match, count certain text in the row -


i have column/list of duplicate names.

in corresponding row/columns of duplicate names, cells contain "truant."

another column contains unique names off same list.

i want formula next unique name (listed once) shows how many "truant" cells name has beside it.

for example:

john smith might in column 5 times, , in 9 cells in same row "truant" shows sporadically. have column contains john's unique name once. in column next name, want show how many truants in cells in same rows duplicated name... wish post attachment!

i suggest in 2 steps:

1) count each row, with:

=countif(b2:j2,"truant")   

(as in k2 , copied down) then:

2) in table of unique names sum say:

=sumif(a:a,m2,k:k)    

so34820964 example

however there various alternatives other functions or pivottable might prove more convenient in long-term, specially if did not mind indicating truancy 1 rather truant.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -