leefletcher
New Member
- Joined
- Mar 22, 2018
- Messages
- 29
- Office Version
- 2019
- Platform
- Windows
I'm trying to count how many distinct items appear across multiple columns with a single criteria from another column. My ability to use the right words might be keeping me from finding a solution on the web.
Desired result:
How do I count the distinct entries across multiple columns (skipping over columns with unrelated information)?
Cities | Restaurant 1 | Unrelated information | Restaurant 3 | Unrelated Information |
Boston | McDonalds | Main | Popeyes | Down |
Boston | Burger King | Elm | McDonalds | Up |
Los Angeles | Wendys | North | Pizza Hut | West |
Los Angeles | McDonalds | South | Wendys | |
Los Angeles | Pizza Hut | Oak |
Desired result:
City | Total Restaurants | Distinct Restaurants |
Boston | 4 | 3 |
Los Angeles | 5 | 3 |
How do I count the distinct entries across multiple columns (skipping over columns with unrelated information)?