Excel Formula to Index Top-Performing Products by Monthly Sales

📅 Mar 14, 2026 📝 Sarah Miller

Manually scanning monthly sales spreadsheets to pinpoint your top-performing products is both time-consuming and prone to human error. While standard methods like manual sorting or basic filters offer a temporary fix, they fail to provide real-time updates as new data flows in.

Utilizing a dynamic Excel formula grants you instant, automated visibility into your highest-revenue drivers. To achieve this, however, your data must be cleanly structured, leveraging advanced functions like INDEX, MATCH, and LARGE. For example, combining these functions allows you to seamlessly extract your top three products. Below, we will explore the exact formula syntax to automate your monthly sales reporting.

Excel Formula to Index Top-Performing Products by Monthly Sales

In retail, e-commerce, and wholesale business models, identifying your top-performing products is a critical daily, weekly, or monthly task. Knowing which items generate the highest volume of sales helps inventory managers restock efficiently, marketing teams optimize ad spend, and executives understand market trends. While Excel's built-in sorting and filtering features can help you find this information temporarily, they are manual and static. If your data changes, you must re-sort your tables manually.

To build a dynamic, automated dashboard that constantly highlights your top-performing products, you need robust formulas. In this comprehensive guide, we will explore how to index top-performing products based on monthly sales using both classic Excel formulas (for older Excel versions) and modern dynamic arrays (for Excel 365 and Excel 2021).

Setting Up Our Sample Data

Before writing our formulas, let's establish a standardized sample dataset. Assume we have a sales table ranging from columns A to C, spanning rows 1 to 11. Column A contains the Product Name, Column B contains the Month, and Column C contains the Monthly Sales Volume (in USD).

Row Number Column A (Product Name) Column B (Month) Column C (Sales Volume)
2 UltraWidget Pro January $12,500
3 EcoWater Bottle January $8,400
4 Smartband X3 January $15,200
5 Wireless Earbuds January $19,100
6 Leather Notebook January $4,200
7 Ergonomic Office Chair January $22,500
8 Bluetooth Speaker January $11,300
9 USB-C Hub Multiport January $6,800
10 Mechanical Keyboard January $15,200
11 Portable SSD 1TB January $17,800

Our objective is to extract the top 3 performing products based on their sales volumes and list them dynamically in a separate summary table.

Method 1: The Classic INDEX, MATCH, and LARGE Approach (For Legacy Excel)

If you are working on older versions of Excel (such as Excel 2019, 2016, or 2013), you must rely on a combination of INDEX, MATCH, and LARGE functions. Let's break down how these functions work together to fetch our top performers.

Step 1: Finding the Highest Sales Values

First, we need to determine what the top sales volumes actually are. We can achieve this using the LARGE function. The syntax for LARGE is:

=LARGE(array, k)

Where array is our sales range (C2:C11) and k represents the rank we want to extract (1 for the highest, 2 for the second highest, etc.).

  • Top 1 Sales Value: =LARGE($C$2:$C$11, 1) (Returns $22,500)
  • Top 2 Sales Value: =LARGE($C$2:$C$11, 2) (Returns $19,100)
  • Top 3 Sales Value: =LARGE($C$2:$C$11, 3) (Returns $17,800)

Step 2: Retrieving the Product Name

Once we have identified the top sales figures, we can use INDEX and MATCH to look up the corresponding product name in Column A. The nested formula for the #1 top performer looks like this:

=INDEX($A$2:$A$11, MATCH(LARGE($C$2:$C$11, 1), $C$2:$C$11, 0))

How this works:

  1. LARGE($C$2:$C$11, 1) evaluates to 22500.
  2. The formula simplifies to MATCH(22500, $C$2:$C$11, 0). This searches for the value 22,500 in our sales column and returns its relative position, which is row position 6.
  3. Finally, the formula simplifies to INDEX($A$2:$A$11, 6), which retrieves the 6th item in our product list: Ergonomic Office Chair.

Overcoming the Tie-Breaker Problem in Classic Excel

The standard INDEX + MATCH approach has a critical limitation: it cannot handle ties correctly. If two products have the exact same sales volume, MATCH will always locate the first occurrence in the list, resulting in a duplicate entry in your top-performers table.

For example, in our table, both "Smartband X3" and "Mechanical Keyboard" have sales of $15,200. If we pull the top 4th and 5th products using the classic formula, "Smartband X3" will be listed twice.

The Solution: Creating a Helper Column for Tie-Breakers

To resolve this issue, we can create a "Normalized Sales" helper column in Column D. This helper column adds a microscopic, unique value to each sales figure based on its row number. This ensures every value in our ranking is completely unique without altering the visual presentation of our primary sales numbers.

In cell D2, enter the following formula and drag it down to D11:

=C2 + (ROW(C2)/1000000)

Now, even if two products have sales of $15,200, their normalized values will be slightly different (e.g., 15200.000002 vs. 15200.000010). You can then run your INDEX, MATCH, and LARGE formulas on Column D instead of Column C:

=INDEX($A$2:$A$11, MATCH(LARGE($D$2:$D$11, 1), $D$2:$D$11, 0))

Method 2: The Modern Dynamic Array Approach (Excel 365 & 2021)

If you are using modern Excel, you can bypass the complex nesting and helper columns entirely. Excel 365 introduces powerful dynamic array functions like SORT, FILTER, and TAKE that make indexing your top-performing products incredibly simple and fully automatic.

The Power of SORT and TAKE

To extract the top 3 performing products along with their sales numbers in one clean movement, we can combine SORT and TAKE. Write the following formula in your target cell, and let it spill naturally into the neighboring cells:

=TAKE(SORT(A2:C11, 3, -1), 3)

Step-by-Step Breakdown:

  • SORT(A2:C11, 3, -1): This sorts the entire dataset (columns A through C) based on the 3rd column (Sales Volume) in descending order (signified by -1).
  • TAKE(..., 3): This extracts the top 3 rows from the newly sorted array. If you want the top 5, you would simply change this argument to 5.

This approach effortlessly handles ties without duplicating names, bypasses helper columns, and automatically scales if you add new data to your spreadsheet ranges.

Method 3: Indexing Top Products Based on Specific Monthly Criteria

Often, your dataset will span multiple months, and you will want to isolate top performers for a specific month (e.g., finding the top 3 products in "January"). We can combine the FILTER function with our sorting formulas to create a targeted, interactive dashboard.

Assuming you have a dropdown menu in cell F1 where users select the month they wish to analyze, write the following dynamic formula:

=TAKE(SORT(FILTER(A2:C11, B2:B11=F1), 3, -1), 3)

How it works:

  1. FILTER(A2:C11, B2:B11=F1): Filters the original dataset to only include rows where the month in Column B matches the value selected in F1.
  2. SORT(..., 3, -1): Sorts the filtered subset of data by Sales Volume (Column 3) in descending order.
  3. TAKE(..., 3): Pulls only the top 3 rows of that specific month's dataset.

Summary: Choosing the Right Method

When choosing how to construct your Excel model, prioritize the version of Excel your organization uses. If your company relies on modern Excel 365, skip the outdated INDEX + MATCH combinations in favor of TAKE and SORT. They are less prone to calculation errors, require no helper columns, and automatically adjust when your dataset grows. However, if your worksheets need backward compatibility with legacy versions of Excel, using INDEX + MATCH along with a row-based tie-breaker helper column remains a robust, fail-safe solution.

Disclaimer:
The documents and templates provided on this page are for informational and illustrative purposes only. They do not constitute professional, legal, or financial advice, and should not be relied upon as such. Because individual circumstances and regulatory requirements vary, these materials may not be suitable for your specific needs. We recommend consulting with a qualified professional before adapting or using any of these examples for official or commercial purposes.