It is Olympic season. Everyone I know is tracking the games and checking their country’s performance. One thing that we notice when looking at medal tally is,
A single Gold medal is worth more than any number of Silver medals. Like wise, a single Silver medal is worth more than any number of Bronze medals.
So, when you look at the ranking of countries, you see countries with single Gold medal higher up than countries with lots of Silver and Bronze medals (but no Gold).

So how do we sort our data in Olympic medal table style?
It is simpler than it looks. All you have to do is use custom sort feature in Excel.
- Select your data
- Go to Home > Sort & Filter > Custom Sort
- Now specify the sort levels and sort orders.
- Click ok and you are done!

Using SORTBY() formula to sort the table
Excel 365 introduced a new formula to sort data by multiple-levels using formulas. SORTBY
Assuming your medal data is in the table named medals you can sort with below formula.
=SORTBY(medals, medals[Gold],-1, medals[Silver], -1, medals[Bronze],-1,
medals[Team / NOC],1)
The -1 parameter tells SORTBY to sort in descending order.
Learn more about SORTBY function & other new formulas in Excel 365.
What if your version of Excel does not have SORTBY
Well, there is a work around. Add an extra column in your data and calculate sort order using a formula, as shown below.

Once you calculate sort order, sort on this column in descending order and you are done.
Video – Sorting Excel data in Olympic medal table style
Watch this short & fun video to learn the sorting technique outlined in this page.
Example file – Olympics Medal Table style sorting in Excel
Please download this Excel file if you want to practice the custom sort or SORTBY() approach.
Do you use custom sort?
Custom sorting is very useful when you 2-3 levels in your data. For example, sorting all projects by department & % completed or sorting all products by region & sales volume. I use it often to understand how my data is.
What about you? Do you use custom sort? What is your experience like? Please share your tips & thoughts using comments.
More Quick Tips on Sorting & Filtering
If you find yourself constantly sorting and filtering, then check out below tips. I am sure you will learn something new.
- Sorting:
- Custom sorting in Pivot tables
- Which formula to use to check if a list is sorted?
- Formula 1 style sorting in Excel
- How to round and then sort data in Excel
- Sorting text values using formulas!
- Shuffling a list in random order in Excel
- How to sort across columns (ie change sort orientation)
- Filtering:
- Filtering values using advanced filters
- How to filter odd or even rows only?
- Right click to filter fast…













11 Responses to “FREE Calendar & Planner Excel Template for 2025”
Hi,
I downloaded this 2025 Calendar template. I checked the custom tab. Is it possible to change the weekend Fri & Sat.
Thanks
It is. Just use the option for fri & sat weekend (should be 7).
Activities of some dates are not getting displayed on "Any month" and "printable calendar" sheets.
e.g. Activity of 24 Apr 25.
Can you check again? The date in "planner" sheet should be a proper date. When I tested with 24-apr-2025, it works.
Love this calendar... I have highlight planner dates enabled but all dates are blue, is it possible to customize the color based on the type assigned to each date?
What would be the right way to add more Holidays in the Customizations?
Inserting rows in the Holiday List causes the blank cells in the calendar to turn Blue.
This is amazing!!! The best I've seen so far!! Is it possible to update it to consider a column for the final date? That way, if an event lasts more than one day, it repeats in the calendar
How do we change/insert the customization "Icon Options" ?
You can adjust these from the settings tab.
Is there anyway this can turn into an academic calendar (ie. start month is July and runs all the way through June of next year)?
Is there a way to make it something that is more than a day without having to add it to every day of that week.