This article reports on a YouTube video by Chandoo that demonstrates a neat Excel workaround for creating a DENSE RANK-style ranking. The presenter explains how to combine modern Excel functions to get continuous ranks without the gaps that standard ranking functions produce. In short, Chandoo shows how using UNIQUE() together with either LARGE or SORT yields dense ranks similar to SQL implementations. Consequently, the technique is especially useful when you need ordered positions that do not skip numbers after ties.
Chandoo begins by noting that Excel does not include a built-in DENSE RANK function, so the video focuses on constructing one with available tools. First, he uses UNIQUE() to extract distinct values from a list, and then applies SORT or LARGE to order those unique values. By mapping the original values to the position of each value in the sorted unique list, you obtain a dense ranking where tied values share the same rank and ranks remain consecutive.
The presenter also contrasts this approach with the classic formula that pairs RANK.EQ and COUNTIF, explaining that the newer dynamic array functions simplify formulas and reduce the need for helper columns. However, he emphasizes that the choice depends on your Excel version and whether you prefer a single-cell dynamic solution or more explicit helper steps for readability. As a result, viewers can pick the method that fits their workbook complexity and team practices.
While dense ranking avoids skipped numbers, Chandoo highlights tradeoffs you should consider when choosing an approach. For example, using dynamic array functions like UNIQUE() and SORT yields concise formulas but requires a modern Excel release such as Microsoft 365 or Excel 2021 and later. Conversely, the RANK.EQ plus COUNTIF approach works in older versions but can become cumbersome on large sets and harder to maintain over time.
He also discusses performance implications: array-based solutions can be faster and cleaner on moderate datasets, yet they may slow complex workbooks if applied repeatedly across many ranges. Therefore, balancing clarity, compatibility, and speed is key when adopting any ranking method.
Beyond formulas, Chandoo points out that tools like PivotTables and Power Query can produce ranks too, often with better scalability for large or transformed datasets. However, those tools shift the workflow away from live formulas and into refreshable reports or ETL-style steps, which may not suit every user who needs immediate, cell-level calculations. Moreover, Power Query and PivotTable methods require extra steps and sometimes a different mindset for those used to in-sheet formulas.
In closing, the video gives practical tips for implementation and testing, advising users to validate results when data changes and to document chosen methods for team clarity. Chandoo’s examples illustrate how to handle duplicates, build top-N reports, and combine criteria when needed, while warning about version limits and maintainability. Overall, the techniques he shows give analysts flexible options: choose concise dynamic formulas where supported, use classic formulas for compatibility, or move to PivotTables and Power Query for larger datasets and clearer ETL control.
Excel ranking values trick, Excel rank formula tutorial, Rank values in Excel, RANK.EQ tutorial Excel, Rank without duplicates Excel, Advanced Excel ranking tip, Excel ranking with ties, Dynamic ranking Excel formula