Forum Discussion
NauNovice
Jan 06, 2019Copper Contributor
COUNTIF Formula Help
Hello, I am fairly new to working with Excel so please forgive me if this is a silly question. I have a set of data values in B2:G20. Let's say in row B20:G20 I have 2 values that match the values i...
Willy Lau
Jan 07, 2019Steel Contributor
=SUMPRODUCT(COUNTIF(B20:G20,{8,17,24,43,48}))
NOTE: hope that it is not used to check lottery result.
- NauNoviceJan 07, 2019Copper ContributorThank you! Looks like I need to dig deeper into understanding arrays. Also no worries about lotto results, losing money is not my thing lol