I'm currently struggling with something that seems to me like it should be quite simple. I have the following two rows in a spreadsheet, say A and B from 1 to 5:
Strategic, Input, Restorative, Learner, Individualization
Connectedness, Strategic, Intellection, Learner, Achiever
How can I count how many words are the same in both rows? The answer in the above case should be 2.
You could use =SUMPRODUCT(--(COUNTIF(A1:A5,B1:B5)>0))
. Sumproduct does not require ctrl+shift+enter
also not in older Excel versions.
PS This solution is not case sensitive.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.