The Best RANK Function Use in Excel
The Best RANK Function Use in Excel
The Best RANK Function Use in Excel
Services
Function in Excel
Social Media Marketing
Paid Advertising
Website Design And Development
Case Studies
About
Team
Blog
Apr 5 UsBy Amanda Thomas
Contact 1727 2
Whether you want to see which keywords have been generating the most amount of
conversions, or which Internet marketing services are showing the most ROI, you can use
the RANK function along with your Analytics data. Here is a way to set up your
spreadsheet to show your highest values using a formula without having to touch the
sort button or create a single macro.
The Function of the RANK function
The most basic use of the RANK function is to return the rank of a number within a set of
numbers. This can be incredibly useful when applied to budgets and determining where
your highest expenses or, conversely, highest revenue is coming from. The syntax for
using RANK is:
=RANK(number,ref,[order])
Ref – the data set that you are comparing the ranked cell to (e.g. $B$2:$B$21) – don’t
forget to keep those $ in there to denote an absolute reference.
[Order] – the order of rank (1st = 1, 2nd = 2, etc.) – you will have to update this number
when you copy the formula to make a list of rankings.
The RANK function can be a bit tricky to customize for various applications, but once
you’ve got it down, you can use your RANK-enhanced formulas to replace your need for
the sort button. Here is one way to combine several functions to achieve the Best Rank
(pun intended) formula on your spreadsheet. This is going to be an extensive use of
functions so be prepared to use the RANK, INDEX, MATCH, SMALL, LARGE, COUNTIF, IF,
ROW, IFERROR and SUM functions.
=ROW(A2)
RANK
– (a nested formula using an conditional formula –[IF]– to prevent the calculation of
blank cells which will produce an error along with the RANK function to find the largest
values in our revenue column).
=IF(B2>0,RANK(B2,$B$2:$B$21,1),0)
TIE BREAK
– sometimes, you run into a tie – or in this case, the same values; this formula helps to
break any ties by using the COUNTIF function to find any duplicate values in addition to
the RANK function. The RANK function is utilized to give priority to the ties that have the
lower ROW numbers/higher in your list.
=IF(COUNTIF($B$2:$B$21,B2)>1,RANK(D2,$D$2:$D$21,1)/100,0)
BEST RANK
– this is a simple SUM formula (using an IFERROR formula to make sure we don’t get any
errors in our ranking values) that adds the original RANK value to our TIE BREAK value
which will give us a new list of RANK without ties.
=IFERROR(SUM(E2+F2),0)
LARGEST VALUES
– the LARGE function is utilized to determine what the largest value is associated with
having the highest BEST RANK. It may seem repetitive, but this helps provide back up of
any errors or ties.
=(MATCH(LARGE($G$2:$G$21,1),$G$2:$G$21,0
(the number 1 – in red – will need to be changed accordingly to 2, 3, 4, etc. down the
column)
SMALLEST VALUES
– the obverse of the LARGEST VALUES, this formula uses the SMALL function to
determine what the smallest values are associated with having the highest BEST RANK.
=(MATCH(SMALL($G$2:$G$21,1),$G$2:$G$21,0))
(the number 1 – in red – will need to be changed accordingly to 2, 3, 4, etc. down the
column)
HIGHEST
– using the INDEX and MATCH functions, you can find out what name is associated with
having the largest BEST RANK values.
=INDEX($A$2:$B$21,H2,1)
LOWEST
– the opposite of the HIGHEST formula, in that it helps you use INDEX and MATCH to find
the smallest BEST RANK values.
=INDEX($A$2:$B$21,I2,1)
You can even merge some of your formulas in some of the columns, like changing the
HIGHEST formula to:
=INDEX($A$2:$B$21,(MATCH(LARGE($G$2:$G$21,1),$G$2:$G$21,0)),1)
(this combines the LARGEST VALUES formula [in red] with the existing HIGHEST formula
[in blue]…just don’t forget to change the value of the first 1 as you copy the formula down
the column).
And, if you don’t have the time to go through this whole process by hand, and could use a
little help, feel free to download the spreadsheet (click here). If you need to expand the
list of names and revenue, make sure to Unhide (select column C through K, right click
and select Unhide) the columns and copy the formulas as far down as you need.
And, as an added bonus, in the ListWithoutBlanks tab, you can use similar formulas to
generate a “shortened” list that will automatically omit any blanks.
Amanda Thomas
SEO Manager
Amanda is the SEO Manager for BRIM and is responsible for assisting the
project managers with the daily tasking to the SEO team.
Comments
Leave a Reply
Your email address will not be published. Required fields are marked *
Name *
Email *
Website
Comment
Post Comment
Search
Drop Us A Note
Name
Phone
Website URL
Categories
Tweets Follow
bit.ly/1Hs8JC9
pic.twitter.com/4B5c2uyf5L
Expand
Tweet to @BRIMagency
Services
SEO
Paid Advertising
Website Development
Social Media Marketing
Company
About
Team
Contact Us
Blog
Sitemap
Address
(858) 427-0825
[email protected]
© BRIM Agency, Inc. 2014 All rights reserved Privacy Policy | Terms and Conditions