working out total scores

innmentor

New Member
Joined
Jan 27, 2020
Messages
16
Office Version
  1. 365
Platform
  1. Windows
Hi not been here for quite some time but here goes.
Have a 4x 10 grid where numbers (representing participants ) in a competition are entered in position in each row representing an individual discipline. So column a-d represent
positions attained 1st -4th with points 10,8,6,2 for each position So grid is filled in with contest and 34 in a1 24 in b1 no one in c1 or d1 which means if no one entered then a blank is left. I need to create a colunm that gives me the unique numbers in the grid ignoring spaces left and attribute to each entrant the number of points each one has attained to then rank them. Any ideas how I can do it . I have been going round in circles trying to use rank function but I am totally lost- HELP PLEASE!
 

Attachments

  • excel score 1.jpg
    excel score 1.jpg
    72.6 KB · Views: 12

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
For unique numbers I would just create a list with all people, numbers 1 through ~.

For the scores you can use this.
Excel Formula:
=(countifs($A$2:$A$12,$E3)*$A$2)+(countifs($B$2:$B$12,$E3)*$B$2)+(countifs($C$2:$C$12,$E3)*$C$2)+(countifs($D$2:$D$12,$E3)*$D$2)

For the rank you can use:
Excel Formula:
=RANK($F3,$F$3:$F$12,0)
 
Upvote 0
Another option
Fluff.xlsm
ABCDEFG
1
210862
321243
4217205302
551164
617561
75520164
875212486
9724251186
1072568
1120721
12711121
Sheet6
Cell Formulas
RangeFormula
E3:E10E3=UNIQUE(TOCOL(A3:D12,1,1))
F3:F10F3=MAP(E3#,LAMBDA(m,SUMPRODUCT((A3:D12=m)*(A2:D2))))
G3:G10G3=RANK.EQ(F3#,F3#)
Dynamic array formulas.
 
Upvote 0
sorry attachment not uploaded properly
For unique numbers I would just create a list with all people, numbers 1 through ~.

For the scores you can use this.
Excel Formula:
=(countifs($A$2:$A$12,$E3)*$A$2)+(countifs($B$2:$B$12,$E3)*$B$2)+(countifs($C$2:$C$12,$E3)*$C$2)+(countifs($D$2:$D$12,$E3)*$D$2)

For the rank you can use:
Excel Formula:
=RANK($F3,$F$3:$F$12,0)
Thanks both work fine the problem is in getting the unique numbers in col E listed for the formulas to give accurate output. Need the formula for column E to list all the unique nos in the grid A3:D12. I worked those out myself I need a formula to do it automatically as you can seethe counts if returns three readings for E10 to E12 which gives incorrect scores
 

Attachments

  • excel score 1.jpg
    excel score 1.jpg
    72.6 KB · Views: 3
  • excel prob 2.png
    excel prob 2.png
    37 KB · Views: 3
Upvote 0
Another option
Fluff.xlsm
ABCDEFG
1
210862
321243
4217205302
551164
617561
75520164
875212486
9724251186
1072568
1120721
12711121
Sheet6
Cell Formulas
RangeFormula
E3:E10E3=UNIQUE(TOCOL(A3:D12,1,1))
F3:F10F3=MAP(E3#,LAMBDA(m,SUMPRODUCT((A3:D12=m)*(A2:D2))))
G3:G10G3=RANK.EQ(F3#,F3#)
Dynamic array formulas.
Thanks for the effort but this is what happened when I followed your layout and formulas and tis why I came here as I have been having such results since I started on this problem a week ago I'm on 365 so excel should be working but everything I try does not seem to give me what I need. I thought it was me but something isn't right somewhere
 

Attachments

  • excel prob 3.png
    excel prob 3.png
    41.5 KB · Views: 4
Last edited by a moderator:
Upvote 0
For unique numbers I would just create a list with all people, numbers 1 through ~.

For the scores you can use this.
Excel Formula:
=(countifs($A$2:$A$12,$E3)*$A$2)+(countifs($B$2:$B$12,$E3)*$B$2)+(countifs($C$2:$C$12,$E3)*$C$2)+(countifs($D$2:$D$12,$E3)*$D$2)

For the rank you can use:
Excel Formula:
=RANK($F3,$F$3:$F$12,0)
thanks but that isn't an option as the numbers are input as results come in and the points and ranking have to be automatic as they are forwared to a schedule of cups etc.-sorry but my brain hurts as I have gone over this with every formula known to man and AI who have also failed for the solution so I do't think AI will be dominating the world any time soon:unsure::unsure:
 
Upvote 0
You need to clear all the cells below E3, F3 & G3, just leaving the formulae in those 3 cells only
 
Upvote 0
Thanks Fluff seems to be just what I needed but there seems to be a ghost appearing but have hospital appointment this morning will send details this afternoon
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,195
Members
452,616
Latest member
intern444

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