Forum Discussion
Keyamo
Nov 07, 2021Copper Contributor
I am trying to make the Cell W15 Calculate when the words in V2 and W2 appear in the same row
I am trying to make the Cell W15 Calculate when the words in V2 and W2 appear in the same row between Column B and F and then do the same with V2, W2, X2 but for X15
See attached file.
13 Replies
- OliverScheurichGold Contributor
=SUM(COUNTIF(B2:F2,V2:W2))
Enter formula as arrayformula with ctrl+shift+enter if you don't work with office365 or 2021.
Is this what you are looking for? Please compare attached file.
- KeyamoCopper ContributorThankyou for the reply!
Not quite as when i plugged it into my own spreadsheet, it will only count the one row so i changed the F2 to F80 as there are 80 rows but then it seems to be counting one extra row which i think is V2:W2 so i just added a -1 at the end of the function- KeyamoCopper ContributorAlso i am unable to then use this to try and add the X3 column as i tried adding X2 to the formula