Count if column 1 matches column 2
I'd like to create a formula in a summary cell at the top of my sheet that counts rows in which the value in 1 column matches the value in another column at the same row. I'm hoping to do this without creating a helper column.
Example:
Col1 Col2
1 1 =1
2 2 =1
3 0 =0
4 3 =0
5 5 =1
I'm guessing there is an obvious answer, but I can't find it.
=COUNTIF(Col1:Col1, = ????)
I've tried using Col2@row, VALUE(Col2@row), some @cell combinations, but no success.
Any help would be appreciated. Thank you.
Comments
-
The only ways I have been able to make work involve a helper column. If you don't want a helper column to be seen on the sheet, you could always build it and then just hide it.
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives