1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

How to count how many columns two rows have in common

Hello, I'm a hobbyist driving myself insane hopping between index, lookups, and countif functions trying to count:
How many times does character A feature with character B across multiple events

https://preview.redd.it/t8o8z6aw9jqg1.png?width=794&format=png&auto=webp&s=dde6e6153db1ac208900bb0f3b9c6a4e5ca4430f

This is a slice of the whole chart, I'll call the characters A-D in descending order.

For example, say I want to count how many times character A and D share a column. In this slice of the chart, I'd want for the function to return 1.
In total there are 32 columns, and I want to be able to compare one character row with 21 other rows.

I suspect I'll need to change the cells that read "1*" to simplify the matter, but if there's a way to count for both "1" and "1*" cells I'd be very thankful.

submitted by /u/Melozules
[link] [comments]

Want to read more?

Check out the full article on the original site

View original article

Tagged with

#Excel alternatives for data analysis
#natural language processing for spreadsheets
#generative AI for data analysis
#rows.com
#financial modeling with spreadsheets
#Excel compatibility
#row zero
#Excel alternatives
#count
#characters
#rows
#columns
#common
#function
#countif
#feature
#cells
#index
#lookup
#events