Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Totally Lost - Is there any way to rename sums to a ranking? As in highest sum says 1 instead of sum

I have a table with sums and I am wanting the highest sum for the question in the column to say 1, second highest to say 2, 3rd highest to say 3...etc. 

1 Solution

Accepted Solutions
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi there!

The function name is Rank(), and it does exactly what you need:

Rank(Sum(Sales)) will return numbers 1, 2, 3 etc. Find it in the Help section for more details about an optional second parameter.

Cheers!

View solution in original post

3 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi there!

The function name is Rank(), and it does exactly what you need:

Rank(Sum(Sales)) will return numbers 1, 2, 3 etc. Find it in the Help section for more details about an optional second parameter.

Cheers!

Anonymous
Not applicable
Author

Ah...very neat. Thanks Oleg!

Are you only to rank down a column or can you pull this off doing it across a row in a pivot table as well? 

I am reading about something called HRank, but I am not sure if I fully grasp how to use that. 

Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

I never had a chance to use HRank, but it sounds like it would do the job in the Pivot table.