Excel - How to count number of rows in range (i.e. various columns) that contain certain string?
问题 I have a list A of strings and I want to see if and if yes in how many rows each string is represented in range B. My data looks something like this: List A: E 1 aaa 2 bbb 3 ccc Range B: A B C 1 aaa --- --- 2 bbb ccc bbb 3 aaa --- --- My desired result would be that in list A for "aaa" it would tell me 2, for "bbb" 1 and for "ccc" 1. Have been trying to do this with the below array formula but it doesn't seem to be working: =SUM(IF(COUNTIF(Range B,List A($A1)>0,1,0)) 回答1: As much as I like to