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

Our take

Counting how many columns two rows share can be a daunting task, especially when juggling multiple functions like INDEX, LOOKUP, and COUNTIF. In this guide, we’ll simplify the process for counting how often character A aligns with character D across your dataset. By focusing on identifying common occurrences within your chart, you can streamline your analysis. Moreover, we’ll explore how to account for variations in cell values, allowing you to capture both "1" and "1*" seamlessly.

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]

Read on the original site

Open the publisher's page for the full experience

View original article

Related Articles

Tagged with