unique values based on multiple criteria

KristinaElise

New Member
Joined
May 31, 2012
Messages
12
I've got a sheet that has multiple columns with various values in each. There are also multiple rows. , for example

Apples Oranges Pears Bananas
Man1 1 0 1 0
Man2 1 1 0 1
Man3 1 0 1 0
Man4 0 1 1 1

I need to create a value for each row that represents how many people want each fruit--where 1 means yes and 0 means no. I need the row to say, for example for Man 1

Apples, Pears

Is there a way to do this so that I can have commas, etc. all in the right place? obviously the values would be different for each row.

Alos, while this example shows only 4 columns, there are actually 20 and there are about 50000 rows.

Any help would be greatly appreciated.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,220,965
Messages
6,157,120
Members
451,399
Latest member
alchavar

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
Back
Top