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!
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

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.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,627
Messages
5,832,758
Members
430,165
Latest member
Idjaz

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top