Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

How do I group a new column by categories based on another column?

$
0
0

I would like a formula to essentially do what the =countif "criteria" formula does; however, instead of a number of how many times "criteria" occurs I would like it to display the name of each person that has said "criteria". Please see below...

Name (Column A)Dietary Preference (Column B)
TomRegular Diet
AnnaRegular Diet
JuliePescatarian
JohnVegetarian
EmmaRegular Diet
BobVegetarian

I would like to convert the above table to look like the below table

VegetariansPescatariansRegular Diet
JohnJulieTom
Bob------------Anna
-----------------------Emma

Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>