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

Any way to see which rows in a data set have the most common values?

Our take

In the quest to analyze a dataset of individuals and their chosen items, one user seeks a solution to identify which rows share the most common values. With a dataset of approximately 300 individuals, each having selected five items from a predefined list, the goal is to determine commonalities without crafting individual formulas for each person. This challenge invites innovative approaches to streamline the comparison process, making it easier to discover which individuals have matching selections. Join the discussion to explore effective solutions!

SOLVED by u/Bradland, thank you!

Hello everyone!

I have a simple dataset that is a row per person (300ish in total) that has their name in column A, and then 5 things that they have chosen from a predefined list in columns B to F.

What I'd like to do (but can't quite figure out) is how to determine the number of things each person has in common with everyone else.

I've tried something with sum(index(countif(B$2:F$2, B3:F3))) which I can drag down to compare the 1st person to every other person. However, that leaves me needing to write a formula per person, which I would prefer to avoid.

Any ideas?

Edit: my title may be misleading. I want to know which rows have the most in common with other rows. Not whether the rows contain the most common values. For example, I'd like to know if person 1 has the same 5 things as someone else, etc.

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

Read on the original site

Open the publisher's page for the full experience

View original article

Tagged with

#rows.com#financial modeling with spreadsheets#Excel alternatives for data analysis#generative AI for data analysis#natural language processing for spreadsheets#AI formula generation techniques#Excel compatibility#large dataset processing#row zero#formula generator#Excel alternatives#big data management in spreadsheets#conversational data analysis#real-time data collaboration#intelligent data visualization#data visualization tools#enterprise data management#big data performance#data analysis tools#data cleaning solutions