Maple Grove Report

Maple Grove Report

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.


If you’ve ever been confused by Excel’s three different ranking functions, you aren’t alone. A rank is a rank, right? But they actually differ in how they handle ties and which versions of Excel they work in. Here is how to choose the right one for your next spreadsheet.

The legacy of the RANK function

Why Microsoft updated a spreadsheet classic

The RANK function in Excel, with the ToolTip explaining that it's a compatibility function for Excel 2007 or earlier.

The original RANK function was the cornerstone of Excel standings for decades. It returns the position of a number within a list, but it’s now classified as a “compatibility” function. This means that while Microsoft has kept it in the software so that older workbooks created years ago don’t break, it’s no longer the recommended way to work, and Microsoft notes it may not be available in future versions of Excel.

The reason for the change wasn’t because the original RANK function was broken, but because it was too vague. In 2010, Microsoft introduced two clearer ranking functions to give users more control over how ties are handled. RANK.AVG was created to provide a new, nuanced way of averaging tied rank positions, and RANK.EQ was introduced as a direct partner. So, while RANK.EQ is mathematically identical to the old RANK, the new naming convention makes it clear that you’re choosing equal tie-handling instead of average tie-handling.

Even though it’s a compatibility function, I’ll cover it here for those using older versions of Excel. And even if you’re on the latest version of Microsoft 365, having this knowledge ensures you aren’t thrown off if someone sends you an older file that still uses it.

Here’s the syntax:

=RANK(number, ref, [order])

where number is the number whose rank you want to find, ref is a reference to a list of numbers, and order (optional) is a number that tells Excel to rank the number as if the reference were in a descending list (0 or omitted) or an ascending list (1).

Suppose you’re working on a pre-2010 version of Excel to manage a list of regional sales figures. You need to assign a rank to each salesperson based on their total revenue to see who’s leading the pack.

An Excel table with salespeople in column A, regions in column B, revenues in column C, and a blank Rank column in column D.

To do this, type this formula into the first cell of your Rank column and press Enter:

=RANK([@Revenue], [Revenue], 0)

This looks at the value in the current row’s Revenue column and compares it to the entire Revenue column. In this case, Mike and David both have $48,500, so they’re both ranked #3. Because two people occupy the third spot, Chloe is assigned a rank of 5.

While standard cells work, Excel tables make ranking much easier. Using a structured reference like [Revenue] keeps your range locked to the entire column, so you don’t need to manually add dollar signs (for example, $C$2:$C$6). It also allows your formulas to expand as you add new rows.

RANK.EQ: The modern standard

Assigning top-tier positions to tied values

RANK.EQ is the modern replacement for the original RANK function and is usually the best choice for traditional leaderboards. The “EQ” stands for “equal,” meaning that tied values receive the same rank. If two people tie for first, they both get #1, and the next person in line is #3.

The syntax is the same as the RANK function:

=RANK.EQ(number, ref, [order])

This means that simply adding “.EQ” to the formula upgrades it to the modern version:

=RANK.EQ([@Revenue], [Revenue], 0)
The RANK.EQ function used in Excel to rank salespeople based on their revenues.

Just like the legacy version, Mike and David are tied at rank 3, so Chloe is assigned rank 5.

RANK.AVG: The statistical average

Calculating the mean position for equal scores

RANK.AVG is primarily intended for statistical analysis. It handles ties by calculating the average of the positions the tied values would have occupied. This is a more mathematically balanced approach often used in academic grading, surveys, or scientific research, where skipping ranks can distort how the data distribution is interpreted.

The syntax is the same as its modern counterpart, except for a tweak to the function name:

=RANK.AVG(number, ref, [order])

Imagine you’re analyzing a customer satisfaction survey. Multiple customers have given the same score (4 out of 5), and you need to find the average rank of these scores to assess relative performance across responses without the top-heavy bias of a standard leaderboard.

An Excel table with customers in column A, scores in column B, and a blank Rank column in column C.

To do this, type this formula into your Rank column:

=RANK.AVG([@Score], [Score], 0)
The RANK.AVG function used to rank customers based on the feedback scores they gave.

Since four people tied for the second, third, fourth, and fifth spots, RANK.AVG calculates the midpoint—(2 + 3 + 4 + 5)/4 = 3.5—meaning every customer who gave a score of 4 is ranked #3.5. This shows that the average position for a score of 4 is right in the middle of that cluster, providing a much more accurate picture of data density than a standard RANK.EQ would.

Handling the “order” argument

Deciding if the lowest or highest number wins

One of the most common mistakes with ranking in Excel is forgetting that rank #1 isn’t always the biggest number. All three ranking functions include an optional third argument—order. By default, Excel assumes you want a descending rank (highest is #1), but many scenarios—like race times—require the smallest number to be the winner.

To rank your data from lowest to highest, type 1 for the order argument:

=RANK.EQ([@Time], [Time], 1)
RANK.EQ used in Excel to rank drivers according to their times, with the lowest time receiving rank 1.

Notice how Chloe, who completed the lap in the quickest time, is ranked #1. By changing the final argument to 1, you tell Excel to use an ascending sort for the ranking logic. It’s a small detail, but it’s the difference between a functional ranking and an inverted set of results.

RANK, RANK.EQ, and RANK.AVG at a glance

Choosing the right tool for your data

Use this table to decide which function fits your dataset, logic, and compatibility.

Function

Handling of ties

Availability

RANK

Top rank (e.g., 1, 2, 2, 4)

All versions of Excel

RANK.EQ

Top rank (e.g., 1, 2, 2, 4)

Excel 2010 and later

RANK.AVG

Average rank (e.g., 1, 2.5, 2.5, 4)

Excel 2010 and later


While the legacy RANK function is still there for older files, moving to RANK.EQ or RANK.AVG gives you much more control over how equal scores impact your standings. This ensures your data remains accurate and professional regardless of ties. Identifying where your values sit relative to each other is just the first step—if you need to physically reorder your rows based on those standings, you can master dynamic organization by using the SORT and SORTBY functions.

OS

Windows, macOS, iPhone, iPad, Android

Free trial

1 month

Microsoft 365 includes access to Office apps like Word, Excel, and PowerPoint on up to five devices, 1 TB of OneDrive storage, and more.




Source link


Home Assistant is a smart home platform that operates on a PC in your home, not in the cloud—so if you don’t already have spare hardware lying around, you’re going to have to find some. But what if I told you there’s one type of computer you can buy that will save you money upfront, provide you with excess performance, and keep energy costs low at the same time?

It’s time to seek out the Intel NUC

The older, the better

Intel NUC listings on eBay.

If you inquire about installing Home Assistant, someone will quickly point you toward a Raspberry Pi. It’s a cheap board that it sips power and will run Home Assistant just fine. But you can quickly overtax a Raspberry Pi if you’re trying to do too many tasks or something more demanding. You’re also going to need to need more than just the Pi itself. You will need to add storage and, perhaps, also a case. By the time you’ve done all that, you’ve actually spent more than you would if you just went shopping for an Intel NUC.

The Intel NUC was a line of mini PCs with Intel CPUs and, typically, Intel-integrated graphics. They are small boxes designed to be VESA mounted to the back of a monitor, tucked away in a corner of a desk, or hidden in a TV stand. They’re also very energy efficient. All this makes them perfect for a home server.

Older Intel NUCs are now dirt cheap

You can buy one for the cost of a flash drive

I recently purchased a used Linux tablet PC (a Star Labs StarLite MK V), and the seller also happened to be trying to off-load a relatively powerful Intel NUC with 32GB of RAM for $400. In today’s market, the RAM alone justified its low asking price, but I hopped on eBay to search for this specific model to price compare and see if I was getting a good deal. In the process, I saw that older, weaker NUCs than mine were going for as low as $40.

An old and cheap Intel NUC on eBay.

How good a deal is this? Last year, I purchased a Home Assistant Green, which is the easiest and most straightforward way to set up Home Assistant. It comes with everything already installed so that you don’t have to touch a single line of code. You just plug the hub in to the wall, connect it to Ethernet, download the Home Assistant app, and follow instructions just like any other consumer product. That Home Assistant Green cost me around $150.

Home Assistant Green

Dimensions (exterior)

4.41″L x 4.41″W x 1.26″H

Weight

12 Ounces

Home Assistant Green is a pre-built hub directly from the Home Assistant team. It’s a plug-and-play solution that comes with everything you need to set up Home Assistant in your home without needing to install the software yourself. 


These old Intel NUCs cost less than half that while offering comparable performance. Unlike an old desktop PC tower, these also remain energy-efficient PCs. The TDP of the Intel Celeron chip in the eBay listing pictured above is 10W, which isn’t that far from what you get from a Raspberry Pi 5. This means you’ll only suffer a marginal increased cost from higher energy usage.

An old NUC can be whatever you want it to be

Tiny hardware that you can configure

At their core, Intel NUCs are desktop computers made with mobile parts. Virtually all let you swap out the RAM and install your own storage, like many laptops. Whereas a single-board computer has soldered RAM and relies on external storage, you can load a NUC up with 64 GB of RAM and pop in a fast 1 TB M.2 NVMe SSD, or, on some models, a cheaper 2.5-inch SATA drive. This may sound excessive for Home Assistant, but if you’re trying to use your box as a media server or as a local-only voice assistant, every extra bit of storage and memory helps.

When I set up a Home Assistant Voice Preview Edition last year, that’s when I really felt the limits of my Home Assistant Green. If the NUC you grab is old and cheap enough, you’re going to feel those limits too. But if I bump up my budget to the $150 I spent on Home Assistant Green, I could get an Intel NUC10i3FNK with an Intel Core i3-10110U processor that easily outperforms a Raspberry Pi, with 8GB of RAM and 250GB of storage, for under $140.

An Intel NUC listing on eBay.

You can get a more powerful NUC if you’re willing to spend a bit more, but in that case, you might as well grab any mini PC you want. There are powerful options from Geekom that come with stronger graphics cards already baked in, or, as Tim Brooks recommends, you can go for a Mac Mini. There’s nothing new about recommending a mini PC. I’m merely suggesting that you should open eBay right now and buy one of the cheapest old Intel NUCs you can find. It’ll do just fine.


It’s time to install Home Assistant

Compared to my Home Assistant Green, there’s one downside to an Intel NUC, and that’s the fact that the later is a DIY device. Fortunately, *installing Home Assistant isn’t too difficult if you’re ready to tinker*.



Source link

Recent Reviews