Reputation: 2143
Having difficulty comparing the 2 columns to get the result
list 1 List 2
AT.aaa Yes
SM.aaa No
CM.aaaa Yes
DV.aaaa Sorry
SI.aaaa NA
AT.bbb yes
AT.cccc NA
SM.cccc Sorry
CM.bbb No
My Motive is to fill this table
Yes No Sorry NA
AT 2 0 0 1
SM 0 1 1 0
DV
CM
SI
I am able to find the count of Yes, No. and sorry individually using Countif but am no able to find the value of those with the other parameter. Can you guys help me out.
Upvotes: 0
Views: 1002
Reputation: 152650
I would use the COUNTIFS() formula:
=COUNTIFS($A:$A,"*" & $D2 & "*",$B:$B,E$1)
Upvotes: 4