Excel Pivot Tables have a lot of useful calculations under the SHOW VALUES AS option and one that can help you a lot is the RANK SMALLEST TO LARGEST calculation.

This option will immediately calculate the rankings (1 being the smallest value) for your values, allowing you to pinpoint the risks or opportunities quickly!

In the example below I show you how to get the Rank Smallest to Largest:



STEP 1: Insert a new Pivot table by clicking on your data and going to Insert > Pivot Table > New Worksheet or Existing Worksheet

Percent of Difference From Previous Years 01


STEP 2: In the ROWS section put in the Sales Month field, in the COLUMNS put in the Financial Year field and in the VALUES area you need to put in the Sales field twice, I explain why below:

Percent of Difference From Previous Years 02


STEP 3: Click the second Sales field’s (Sum of SALES2) drop down and choose Value Field Settings

Percent of Difference From Previous Years 03


STEP 4: Select the Show Values As tab and from the drop down choose Rank Smallest to Largest.  

Select Sales Month as the Base Field.

This means that we will rank the Sales Values by the Sales Month (where Rank 1 is the Smallest).

Also change the Custom Name into Rank Smallest to Largest to make it more presentable. Click OK.

Rank Smallest to Largest 04


You now have your Pivot Table, showing the Smallest to Largest Rankings for each Month.

You can see that each red box is the ranking for each individual year (for Years 2012, 2013, 2014 and the Total Rankings).

Rank Smallest to Largest 05

Rank Smallest to Largest2




If you like this Excel tip, please share itEmail this to someone


Pin on Pinterest

Share on Facebook

Tweet about this on Twitter

Share on LinkedIn

Share on Google+

Related Posts

Summarize Data With Dynamic Subtotals What does it do?It returns a Subtotal in a list or databaseFormula breakdown:=SUBTOTAL(function_num, ref1)What it means:=SUBTOTAL(function number 1-11 includes manually-hidden rows & 101-111 excludes them, your list or range of data)***Go to the bottom...
Filter & Search The Search box within the Filter button is powerful if you know how to use it to your advantage.For example, if you had a list of customers the Search box allows you to find specific customers by typing in a few letters only, allows you to add a selection to your filtered lis...
Turn Text Dates To Excel Dates With Text To Column... Whenever you import data from your company's server, ERP system or any other source for that matter, the Dates usually come in a TEXT format.I will show you a cool trick where you can turn the TEXT Date to a values Date that Excel can read and work with.DOWNLOAD EXCEL WOR...
Fix Excel Hyperlinks to a Named Range Hyperlinks in Excel must be one of the funkiest features that I love playing around with!They allow you to create interactive buttons within Excel (without the need to create a Macro) and you can make them take you to any cell or range within your Excel worksheet.One shor...