Simplify Data Lookups with XLOOKUP

XLOOKUP in Office 2021 is your go-to solution for all your lookup needs. It replaces older functions like VLOOKUP, HLOOKUP, and INDEX MATCH with a more flexible and easier-to-use formula. Here’s why XLOOKUP is a must-know tool for anyone working with data in Excel:

Look Left or Right, No Problem!

Unlike VLOOKUP, which only searches to the right, XLOOKUP can find data in any direction. This means you no longer have to rearrange your columns to match a specific order. For example, you can look up a department name even if it’s to the left of your search column.

Example:
Find an employee’s salary by searching their name in a list:

=XLOOKUP(G5, B2:B14, C2:C14)
Office 2021 - XLOOKUP function

Need the department for the same employee? XLOOKUP handles it easily, even if the department column is on the left:

=XLOOKUP(G5, B2:B14, A2:A14)

Custom Error Messages and Exact Matches


Tired of seeing errors when a match isn’t found? XLOOKUP lets you display a custom message when no items are found, making your data more user-friendly. Plus, it allows for exact match searches or finding the closest value, whether it’s the smallest or largest.

Search From the Start or the End

You can choose where XLOOKUP starts searching—from the beginning of your list or from the end. This adds flexibility when working with large datasets or when you need to find the last occurrence of an item.

Simplify Your Formulas

Previously, to handle errors, you’d combine INDEX/MATCH with IFERROR, which could get complicated.

XLOOKUP simplifies this process, incorporating error handling directly into the function.

=XLOOKUP(G5, B2:B14, A2:A14, "check name")

With XLOOKUP, you get all the power of Excel’s lookup functions in one simple and versatile tool, making your data searches faster and more efficient. For a detailed guide on how to use XLOOKUP check out this article.

Easily Get Multiple Results with the FILTER Function

Struggling to pull multiple results from your data? The FILTER function in Excel 2021 is the solution you’ve been looking for. Unlike VLOOKUP, which only returns the first match, FILTER can display entire rows of data that meet your criteria, making it perfect for viewing all relevant entries at once. Here’s how it works and how it can simplify your data management:

Return All Matches, Not Just One

FILTER allows you to extract all matching data points. Whether you need to see a list of employees in a specific department or any other group criteria.

Example:
Find every employee in a selected department using a dropdown (cell F3). FILTER retrieves all names from column B that match departments in column A:

=FILTER(B2:B21, A2:A21 = F3, "")
Office 2021 - FILTER function

If no matches are found, you can set it to display nothing (or any message you choose), keeping your data clean and error-free.

Simplify Complex Data Searches

Instead of juggling multiple formulas, FILTER condenses your search into one easy-to-understand function. This saves time and reduces the chance of errors, especially in large datasets.

Customizable Error Handling

Easily control what happens when no matches are found with FILTER’s third argument. Show a custom message or leave the cell blank—your choice!

Compare this with the formula you had to use before the FILTER function arrived. 🤯

The FILTER function in Office 2021 simplifies your data filtering needs, making it easier than ever to manage and analyze large sets of information. For a detailed guide check out this article.

Featured Course

Master Excel’s Essential Modern Functions

FILTER, SORT, UNIQUE, XLOOKUP, SEQUENCE. The Excel functions most professionals were never taught, and the ones that turn hours of work into minutes.
Learn More
Excel new functions course cover

Easily Remove Duplicates with the UNIQUE Function

Struggling with duplicate entries in your data? The UNIQUE function in Excel 2021 is here to help. This powerful function allows you to quickly generate a list of distinct values, eliminating duplicates without the hassle of complicated formulas.

Quickly Find Unique Values

The UNIQUE function lets you easily extract unique items from a list, saving you time and reducing errors. Just point to the range you want to filter, and UNIQUE will do the rest:

=UNIQUE(B2:B13)
Office 2021 - UNIQUE function

No More Complicated Formulas

In earlier versions of Excel, finding unique values required long, complex formulas or repetitive actions like dragging formulas down columns.

UNIQUE simplifies this process with a dynamic array that automatically adjusts to show the correct number of unique items—no manual copying or special key sequences needed.

Take Advantage of the “Spill” Feature

With Excel 2021’s dynamic array functionality, the results from the UNIQUE function automatically “spill” into adjacent cells, fitting perfectly within your spreadsheet layout. This means you don’t have to worry about filling cells manually or running out of space—the function expands as needed.

The UNIQUE function in Excel 2021 is a game-changer for anyone dealing with lists or datasets. It makes removing duplicates quick and easy, allowing you to focus on more important tasks

Quickly Organize Your Data with the SORT Function

Tired of manually sorting data in your spreadsheets? The SORT function in Office 2021 makes it easy to organize your data with just one simple formula. Whether you need a list in ascending or descending order, SORT helps you keep your information neat and accessible.

Here’s how to use it and why it’s a game-changer for your Excel tasks.

Sort Data Instantly

The SORT function lets you sort any list of data instantly, saving you from the hassle of manual sorting. Just enter the range you want to sort, and SORT does the rest. By default, it sorts in ascending order:

=SORT(A2:A13)
Office 2021 - SORT function

If you need the list sorted in descending order, simply add a comma and specify “-1” for descending:

=SORT(A2:A13, , -1)

Combine SORT with Other Functions for Powerful Results

One of the best features of SORT is how well it works with other functions like UNIQUE and FILTER. This allows you to not only sort data but also refine it by removing duplicates or filtering based on specific criteria.

Example:
To get a sorted list of unique items, combine SORT with UNIQUE:

=SORT(UNIQUE(A2:A13))

This formula first removes duplicates with UNIQUE, then sorts the results, giving you a clean, organized list.

Sort Your Data by Another Value with the SORTBY Function

Need to sort one list based on the values of another? The SORTBY function in Excel 2021 makes this easy, allowing you to organize data in one column by criteria from another column.

Whether you’re sorting employee names by salaries or products by sales figures, SORTBY can handle it with just a simple formula. Here’s how it works and why it’s a powerful addition to your Excel toolkit.

Sort One List by Another

SORTBY allows you to sort a list based on values in a different column. This is perfect when you need to organize data that doesn’t line up neatly. For example, if you have a list of employee names in column A and their salaries in column B, you can sort the names by salaries in descending order:

=SORTBY(A2:A11, B2:B11, -1)
Office 2021 - SORTBY function

This formula sorts the employee names based on their yearly salaries, from highest to lowest, by using the salary data as the sort criteria.

Simplify Sorting with SORTBY

Before SORTBY, you might have used complex combinations of INDEX and MATCH functions to achieve similar results, which could be tricky to set up and maintain:

SORTBY simplifies this process with a straightforward, easy-to-read formula that doesn’t require additional error handling functions like IFERROR:

The SORTBY function in Excel 2021 is a versatile tool that saves time and simplifies data organization. By allowing you to sort one list by the criteria of another, it opens up new possibilities for data analysis and reporting, making your Excel work more efficient and effective.

Featured Course

Business Charts in Excel

Create professional Excel charts that tell a story AND update automatically. Learn the formulas and design techniques that get your reports noticed.
Learn More

Automate Number Lists with the SEQUENCE Function

Need to generate a list of numbers quickly and efficiently? The SEQUENCE function in Excel 2021 is your go-to tool for creating ordered lists, number series, and even date ranges with just a simple formula.

Here’s how it works and why it’s an essential tool for any Excel user.

Generate Simple or Complex Number Lists


The SEQUENCE function allows you to create lists of numbers in any order you choose. From a basic “1, 2, 3…” sequence to more complex arrays, SEQUENCE makes it easy to define how many numbers you need, where to start, and the increment value.

Example:
To create a simple list from 1 to 10, use:

=SEQUENCE(10, 1, 1, 1)
Office 2021 - SEQUENCE function

This formula generates a vertical list of 10 numbers, starting at 1 and increasing by 1.

Create Multi-Dimensional Arrays

SEQUENCE can also generate two-dimensional arrays, perfect for more advanced data needs.

For instance, to create a 5×5 grid of numbers starting at 100 and decrementing by 0.5, you can customize your array with:

=SEQUENCE(5, 5, 100, 0.5)
Office 2021 - SEQUENCE function

This formula creates a 5 by 5 grid, starting at 100 and decreasing each subsequent value by 0.5.

If you want the sequence displayed vertically instead of horizontally, simply wrap the SEQUENCE formula in a TRANSPOSE function:

=TRANSPOSE(SEQUENCE(5, 5, 100, -0.5))

Easily Generate Date Ranges and Calendars

Dates in Excel are just numbers, which makes SEQUENCE a great tool for creating date ranges. If you want to list all dates from a start date (cell B3) to an end date (cell B4), you can use SEQUENCE to fill in the dates automatically:

=SEQUENCE(B4-B3, 1, B3)

This formula lists dates starting from the date in B3 and continues until the difference between the start and end dates is covered.

The SEQUENCE function in Excel 2021 offers a versatile way to automate list generation and data organization. For a detailed guide on how to use the SEQUENCE function check out this article.

Generate Random Data Easily with the RANDARRAY Function

Need random numbers or data for testing, simulations, or sampling? The RANDARRAY function in Excel 2021 is your go-to tool for creating random arrays of fractions or whole numbers.

It offers more flexibility than the older RAND and RANDBETWEEN functions, allowing you to customize the size, range, and type of numbers with ease. Here’s how to use it and why it’s a great addition to your Excel toolbox.

Create Random Arrays with Flexibility

RANDARRAY allows you to generate one or two-dimensional arrays of random numbers, either as fractions or whole numbers. You can specify the number of rows, columns, minimum and maximum values, and whether the numbers should be integers.

Basic Examples:

  • Generate Random Fractions: To create a 10-row, 1-column array of random fractions less than 1, use:
=RANDARRAY(10, 1)
  • Create a 5×5 Grid of Random Fractions:
=RANDARRAY(5, 5)

Define Your Range and Number Type

Need numbers within a specific range? RANDARRAY lets you set minimum and maximum values to customize your random data.

Examples with Ranges:

  • Generate Random Fractions Between 10 and 120 in a 5×5 Array:
=RANDARRAY(5, 5, 10, 120)
  • Generate Random Whole Numbers Between 10 and 120 in a 5×5 Array:
=RANDARRAY(5, 5, 10, 120, TRUE)
Office 2021 - RANDARRAY function

💡 Want to refresh your random values? Press the F9 key, and RANDARRAY will regenerate new random numbers instantly.

The RANDARRAY function in Excel 2021 provides a powerful, flexible way to generate random data for a variety of uses.

Find Items Easily with the XMATCH Function

Need to find the position of an item in a list? The XMATCH function in Excel 2021 is a more powerful, flexible upgrade to the traditional MATCH function.

With XMATCH, you can easily locate items in sorted or unsorted lists, use wildcards, and specify whether to search from the top or bottom of your list. Here’s how XMATCH works and why it’s a valuable tool for your data lookups.

Quickly Locate Items with Exact Match Mode

XMATCH simplifies finding the exact position of items in a list by defaulting to exact match mode, saving you time and reducing errors. No need to adjust the formula manually—XMATCH handles it for you.

Basic Example:
To find the position of a specific product in a list, you can use:

=XMATCH("ProductName", A2:A10)

This formula searches for “ProductName” in the range A2:A10 and returns its position.

Flexible Search Directions

With XMATCH, you can choose where to start your search. Need to find the first occurrence of an item from the top of the list? XMATCH does that. Want to find the last occurrence starting from the bottom? XMATCH can handle that too, making it ideal for dynamic data that might change frequently.

Perform Wildcard Matches

XMATCH also supports wildcard characters, making it easier to find items when you only know part of the name or need to match patterns. For example, use “*” or “?” to broaden your search and capture more results.

Works with Sorted or Unsorted Lists

Unlike the older MATCH function, which could struggle with unsorted data, XMATCH is versatile and works seamlessly with both sorted and unsorted lists, enhancing its reliability across different datasets.

Speed Up Calculations with the LET Function

Tired of writing the same formula over and over? The LET function in Excel 2021 lets you name parts of your formula and reuse them, making complex calculations easier to manage and faster to run. Here’s how LET can help streamline your formulas and improve your spreadsheet performance.

Define Once, Use Multiple Times

With LET, you can define a part of your formula once and use that name throughout your calculation. This reduces repetition and makes your formulas cleaner and easier to understand.

Example:
Imagine you’re calculating a variance that checks if the actual revenue is plus or minus 10% of the budgeted revenue. Normally, you might write:

=IF(ABS(B2/C2 - 1) > 10%, B2/C2 - 1, "")
Office 2021 - LET function

In this formula, “B2/C2 – 1” is calculated twice. With LET, you define this calculation once, name it (e.g., “var”), and then use “var” in your formula:

=LET(var, B2/C2 - 1, IF(ABS(var) > 10%, var, ""))

Boost Performance and Clarity

By using LET, Excel only performs the calculation once, which can speed up your spreadsheet, especially with large datasets. It also makes your formulas easier to read and maintain since you can use descriptive names instead of repeating complex calculations.

Easier Maintenance and Updates

If you need to change your calculation, you only have to update it in one place when using LET. This makes formula maintenance simpler and reduces the risk of errors.

Clean and Understandable Formulas

LET allows you to use user-friendly names instead of hard-to-follow cell references or complex expressions. It’s like giving your formula steps a name, much like you would with named ranges, making your work clearer and more intuitive.

Using LET in Excel 2021 can greatly enhance your formula-writing experience, saving you time and reducing errors. For a detailed guide about the LET function check out this article.

Featured Course

Master Excel Power Query – Beginner to Pro

Power Query is the most underused tool in Excel. Build the monthly cleanup once, then just refresh. One member took a monthly report from 7 days down to 2 hours.
Learn More
Power Query Course cover

Additional New Office 2021 Features

Enhance Collaboration with Sheet View

Tired of conflicting filters while collaborating on Excel files with your team? The new Sheet View feature in Excel 2021 allows you to work on shared documents without stepping on each other’s toes.

Sheet View enables you to create personalized views of your data, so you can filter and sort information your way, without affecting what others see. Here’s how to use Sheet View and why it’s a game-changer for online collaboration.

Keep Your Filters to Yourself with Sheet View

When multiple people work on the same Excel file, applying a filter affects everyone’s view, often leading to confusion and disruption. Sheet View solves this by letting you create a separate view of the sheet where you can apply your own filters, and only you can see them.

How to Use Sheet View:

  • Go to the View tab on the ribbon.
  • Click on New Sheet View to start customizing your filters and sorting.
  • Once you’re done, you can save and name your view for future use.

Save and Reuse Your Custom Views

Sheet Views aren’t just for one-time use—you can save your views and return to them later. This is perfect for when you need to repeatedly analyze or present data in a specific way. Simply switch to your saved view, and your filters and sorting preferences will be restored.

Limitations and Compatibility

Sheet View is currently available for Excel files stored in OneDrive, OneDrive for Business, and SharePoint, and is supported in Excel 2007 or later formats. Make sure your files are saved in these locations to take full advantage of this feature.

Sheet View in Excel 2021 makes collaboration more efficient and less chaotic by allowing everyone to work the way they prefer.

Never Worry About Losing Your Work Again with AutoSave

Have you ever lost hours of work due to a sudden computer crash or power outage? With the AutoSave feature in Excel 2021 for Microsoft 365 subscribers, you can put those worries to rest.

AutoSave automatically saves your files every few seconds, ensuring that your latest changes are always protected. Here’s how it works and why it’s a must-have for anyone working with important data.

What is AutoSave and How Does It Work?

AutoSave is a feature available in Excel, Word, and PowerPoint for Microsoft 365 that continuously saves your files as you work. It’s enabled by default when your files are stored on OneDrive, OneDrive for Business, or SharePoint Online, providing an extra layer of security for your documents.

Control When AutoSave is On or Off

AutoSave can be easily toggled on or off, giving you control over when your work is saved. This is especially useful if you’re experimenting with changes that you don’t want to keep permanently.

How to Toggle AutoSave:

  • To turn AutoSave on or off, simply click the AutoSave toggle switch at the top left of your Excel window.
  • When AutoSave is off, you’ll need to save manually, just like in older versions of Excel.

AutoSave in Excel 2021 provides a reliable safety net, ensuring that your hard work is never lost. Whether you’re crunching numbers, drafting reports, or collaborating with a team, AutoSave keeps your data secure and up-to-date.

Customize Your Colors with HEX Codes

Want more control over your colors in Excel? Office 2021 now lets you set colors using HEX and HSL codes, in addition to the traditional RGB format.

This gives you greater precision and flexibility in customizing the appearance of your text, shapes, charts, and more. Here’s how you can make the most of this feature and elevate your Excel projects with exact color matching.

Why Use HEX and HSL Codes?

Previously, Excel limited color customization to RGB codes, which can be cumbersome and less intuitive for matching exact colors from web design or branding guidelines.

  • HEX codes, commonly used in web design, are a simpler way to specify colors with six-digit codes that combine red, green, and blue values.
  • HSL (Hue, Saturation, Lightness) offers an alternative method that’s often easier for selecting shades and tints.

How to Apply HEX and HSL Codes in Excel

Applying HEX and HSL codes in Excel is easy. When customizing colors, you can now enter these codes directly into the color picker:

  • HEX Codes: In the color customization dialog, simply type your six-digit HEX code (e.g., #FF5733) to apply the exact color you need.
  • HSL Codes: You can adjust Hue, Saturation, and Lightness values to fine-tune your color selection, ideal for achieving the perfect shade or tone.

Using HEX and HSL codes in Excel 2021 opens up new possibilities for customizing and refining the appearance of your data. Whether you’re matching brand colors, creating standout charts, or simply adding a personal touch, these new color options give you the power to get your colors just right.

Enhance Your Excel Documents with Icons, Illustrations, and 3D Models

Looking to make your Excel documents more engaging and visually appealing? Excel 2021 now offers a wide range of icons, illustrations, and even 3D models that you can easily insert to enhance your presentations, reports, and data visualizations.

Access a Wide Range of Icons and Illustrations

Office 2021 provides access to a vast library of icons and illustrations that you can use to add visual elements to your spreadsheets. From simple icons to detailed illustrations, these visuals can help highlight key points, represent data categories, or make your content more engaging.

How to Use Icons and Illustrations:

  • Go to the Insert tab and select Icons or Illustrations to browse the available options.
  • Choose from a variety of styles and categories to find the perfect match for your project.
  • Customize the size, color, and placement to fit your document’s design.

Add Depth with 3D Models

Take your visuals to the next level with 3D models that can be rotated, resized, and viewed from any angle. These models are perfect for creating interactive and dynamic presentations. Some models even include animations, making your documents not just informative but also visually stunning.

PowerPoint Recording Tools

Office 2021 introduces a suite of new recording tools designed to make your presentations and screen recordings more professional and engaging.

Whether you’re creating online lectures, business presentations, or tutorial videos, these features provide everything you need to record with confidence and ease.

Here’s what’s new and how you can use these tools to elevate your recordings.

  • Countdown Timer for Seamless Starts
  • Easy-to-Use Annotation Tools
  • Picture-in-Picture Webcam Recording
  • Teleprompter-Style Slide Notes

PowerPoint’s new recording tools in 2021 are designed to make your presentations look and feel more professional, all while being easy to use. Whether you’re recording a lecture, a business pitch, or a tutorial, these enhancements give you the confidence and capability to create standout content.

Improved Reading Experience with Word’s New Immersive Reader

Struggling to stay focused while reading long documents in Word? The new Immersive Reader improvements in Office 2021 make it easier to read and concentrate by allowing you to decide how many lines of text you want to focus on at a time.

This feature is designed to help improve reading comprehension, reduce distractions, and make Word more accessible for everyone. Here’s how to use it and why it’s a valuable addition to your Word toolkit.

Find Emails Faster with the Improved Instant Search in Outlook

Struggling to find specific emails in your crowded inbox? The improved Instant Search feature in Office 2021 makes it easier than ever to locate messages, attachments, and more with just a few keystrokes.

This powerful tool allows you to search by date, sender, attachment status, and other criteria, streamlining your email management and boosting your productivity. Here’s how to use Instant Search and why it’s one of the best new features in Outlook.

For a full breakdown of the new Instant Search feature, check out this link.

Featured Bundle

Black Belt Excel Bundle

This Excel Black Belt Package includes EIGHT of our Popular Courses. You’ll learn high-value, in-depth Excel skills that solve real problems.
Learn More
Excel Black Belt Bundle XelPlus

Leila Gharani

Founder of XelPlus and ten-time Microsoft MVP. Leila helps over 500,000 professionals master Excel, Power BI, and data automation through practical, real-world training.