Sorting by Colums and by rows

pfm05

New Member
Joined
Nov 15, 2005
Messages
6
I have a list of people (by rows) and their favorite colors(by columns). I want to be able to have a drop down that will create a table that will show everyone with favorite colors of either red blue or green. I also want to be able to select the person in the column to see the colros they listed. How di I do that in the most efficient way?

Source Data

Red Blue Green Yellow Purple Black.....
Joe 1 3 2
Bob 4 2 1
Sue 1 3 4

Example of Result after Sort

Black Purple
Joe 2
Sue 4
Bob 1




Thanks!
 

Some videos you may like

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Zack Barresse

MrExcel MVP
Joined
Dec 9, 2003
Messages
10,881
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
  2. Mobile
  3. Web
Hi there, welcome to the board!

You can't post data like that, as you can see, it won't show up right. You need to read the FAQ and download/install Colo's HTML Maker to post an example of your spreadsheet. I think that will shed some light on your question.
 

Watch MrExcel Video

Forum statistics

Threads
1,119,269
Messages
5,577,108
Members
412,768
Latest member
klig
Top