Average Rank from multiple columns?

jberylec

New Member
Joined
Jan 14, 2023
Messages
23
Office Version
  1. 2019
Platform
  1. Windows
Hello! I've got a fun one. I need a formula for column G that I can paste into G2 daily and copy down a spreadsheet that will calculate the rank of each row within each column C, D, E, F and display the average rank of that row's values within each of those columns. It should only consider values that are in the same location, column A. So column A is the criteria. Pretty sure the function example below doesn't really exist, but just for visual reference I typed out what I'm trying to do, similar to countifs formulas I have elsewhere in the sheet, but this time for rank, with a criteria range, criteria, rank range, etc.

FYI, the names in column B aren't to be considered in the formula.

Like this:
= AVERAGE(RANKIFS(A$2:A$1500,A2,C$2:C$1500),RANKIFS(A$2:A$1500,A2,D$2:D$1500),RANKIFS(A$2:A$1500,A2,E$2:E$1500),RANKIFS(A$2:A$1500,A2,F$2:F$1500))


Book1
ABCDEFG
1LocationAverage Rank
22Steph96.0093.0094.5094.50
32Rach96.0092.0094.0094.00
42Jes106.0079.2592.6292.62
57Pete83.0094.0088.5090.33
67Suzy105.0089.0097.0094.33
77Henry99.0093.0096.0095.00
88etc95.0083.0089.0091.00
98etc93.0094.0093.5093.50
109etc93.0091.0092.0092.00
119etc98.0088.0093.0094.67
122etc88.0093.0090.5090.50
Sheet1
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
How about
Excel Formula:
=AVERAGE(COUNTIFS(A$2:A$20,A2,C$2:C$20,">"&C2)+1,COUNTIFS(A$2:A$20,A2,D$2:D$20,">"&D2)+1,COUNTIFS(A$2:A$20,A2,E$2:E$20,">"&E2)+1,COUNTIFS(A$2:A$20,A2,F$2:F$20,">"&F2)+1)
 
Upvote 0
Solution
Sorry for the delay Fluff, I had already figured it out, and yes that's exactly what I did :) Thank you!
 
Upvote 0
Glad to help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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