Creating a 'league table' based on yes/no responses

sobeitjedi

Board Regular
Joined
Mar 13, 2006
Messages
235
Office Version
  1. 365
Hi.

In my sheet I have data in a b c & d which can be a yes or no. Column E contains a name or email address.

I want to create a 'league table' where if there's a 'no' in a, it's 1 point, b =2 points, c=1 point, d=1 point

There are hundreds of rows and the names in E can be the same, I want the duplicate names removed, but the total score to include the duplicates.

Does that make sense?

Hope so!
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Try:


Book1
ABCDEFGH
1COL ACOL BCOL CCOL DNameNameScore
2noyesyesnoaa8
3yesyesyesnobb1
4noyesnoyescc6
5yesyesyesnoad6
6noyesnoyesde3
7yesyesnonoex3
8yesyesyesyesa0
9noyesyesyesc0
10noyesyesyesa0
11yesnonoyesc0
12yesnonoyesx0
13nonoyesnod0
14noyesyesyese0
15nonoyesnoa0
Sheet2
Cell Formulas
RangeFormula
H2=SUMPRODUCT(($A$2:$D$15="no")*($E$2:$E$15=G2)*{1,2,1,1})
G2{=IFERROR(INDEX($E$2:$E$15,MATCH(0,COUNTIF($E$2:$E$15,"<"&$E$2:$E$15)-SUM(COUNTIF($E$2:$E$15,"="&$G$1:$G1)),0)),"")}
Press CTRL+SHIFT+ENTER to enter array formulas.


Or were you looking for a VBA solution?
 
Upvote 0

Forum statistics

Threads
1,224,743
Messages
6,180,688
Members
452,994
Latest member
Janick

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