RANK NUMBERS FROM 5 COLUMNS INTO 1

Data123

Board Regular
Joined
Feb 15, 2024
Messages
71
Office Version
  1. 365
Platform
  1. Windows
Hi does anyone know how to create a formula to calculate the values from 5 columns to then rank them in one separate column?

The 5 columns have values that include negative numbers.

Also, is it possible to specify a weight to each column being calculated? Meaning, I would like to limit some columns whose values are less important than others.

Thanks!
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
maybe if you could show us what the original data looks like and what you're expecting to see. What identifies it as more or less important. Is that a constant number or a variable?
 
Upvote 0
maybe if you could show us what the original data looks like and what you're expecting to see. What identifies it as more or less important. Is that a constant number or a variable?
Good point a visual is always better. To make things easier I just added 3 columns below instead of 5. If I just want to add the 3 columns together then divide by three to get the average is it possible (column 1 row 2 + column 2 row 2 + column 3 row 2 = X then divide X by 3 = Y)? Is it possible to then rank the order. Meaning get the average and rank the results instead of showing the values (Y) in one column?

Column 1
500
200
100
0
-4
-500

Column 2
4
3
2
0
-1
-4

Column 3
50
9
-20
7
40
20
 
Upvote 0
I'm not entirely sure this is what you want. But, I could not build the RANK function into a Let Statement so the average and rank are in separate columns:

Book1
ABCDE
1Column 1Column 2Column 3AVGRANK OF AVG
2500450184.66671
32003970.666672
41002-2027.333333
50072.3333335
6-4-14011.666674
7-500-420-161.3336
Sheet4
Cell Formulas
RangeFormula
D2:D7D2=LET(A,A2:A7,B,B2:B7,C,C2:C7,ABC,A2:C7,AVGABC,BYROW(ABC,LAMBDA(ABC,AVERAGE(ABC))), AVGABC)
E2:E7E2=RANK(D2,$D$2#,0)
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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