search
HomeTopicsexcelSummarize the usage of several Excel2021 special functions

This article brings you relevant knowledge about excel, which mainly introduces the typical usage of several special functions, including SEQUENCE function, SORT function, SORTBY function, UNIQUE function, FILTER function and so on, I hope it will be helpful to everyone.

Summarize the usage of several Excel2021 special functions

Related learning recommendations: excel tutorial

Today I will share with you the typical usage of several special functions in Excel 2021. With These functions make originally complex calculations increasingly simpler.

1. SEQUENCE function

The function of the SEQUENCE function is to generate a serial number based on the specified number of rows and columns. The commonly used writing method is:

=SEQUENCE(number of rows, [number of columns], [Start number], [Increment])

Application example:

As shown in the figure below, in order to facilitate printing, the names in column A need to be converted into multiple rows and columns.

Enter the following formula in cell D6 and press Enter:

=INDEX(A:A,SEQUENCE(E3,E4,2))&””

Summarize the usage of several Excel2021 special functions

First use the SEQUENCE function to get a multi-row and multi-column serial number starting from 2 based on the number of rows and columns specified in cells E3 and E4. Then use the INDEX function to return the content of the corresponding position in column A.

2. SORT function

The function of the SORT function is to sort the specified rows and columns in the data area. The commonly used writing method is:

=SORT(data area,[pair no. Sort by several columns (rows)], [Ascending or descending order], [Sort by row or column])

Application example:

As shown in the figure below, it is based on the number of sales units in column C , use the formula to get the sorted sales records. Enter the following formula in cell E2 and press Enter.

=SORT(A2:C17,3,-1)

Summarize the usage of several Excel2021 special functions

In this example formula, the third parameter uses -1, indicating descending order, use 1 means sorting in ascending order.

The fourth parameter is omitted, indicating sorting in the column direction.

3. SORTBY function

The function of SORTBY is to sort a certain area according to multiple sets of conditions. The commonly used writing method is:

=SORTBY (data area, to be sorted Column 1, [Ascending order/Descending order], [Column 2 to be sorted], [Ascending order/Descending order]..)

Application example:

As shown in the figure below, it should be based on the sales office and The two indicators of sales sets are used to obtain the sorted sales records using formulas. E2 enter the following formula and press Enter.

=SORTBY(A2:C17,A2:A17,1,C2:C17,-1)

Summarize the usage of several Excel2021 special functions

4、UNIQUE function

The UNIQUE function is used to extract unique values ​​from the data table. The working method is similar to the function of deleting duplicate values. The commonly used writing method is:

=UNIQUE(data source,[by row /Sort by column], [Extract only content that appears once or extract all records])

Application example:

As shown in the figure below, it is necessary to extract a list of unique personnel from the duty records .

Enter the following formula in cell E2 and press Enter:

=UNIQUE(B2:C8)

Summarize the usage of several Excel2021 special functions

##5, FILTER function

The function of the FILTER function is to extract records from the list according to the specified conditions. The conventional usage is: =FILTER(data area, condition area=specified conditions, content returned when the conditions are not met)

Application example:

As shown in the figure below, it is a detailed list of Qingming duty fees for a company. It is necessary to specify the department according to the G2 cell and return all records of the department.

Enter the following formula in cell F6 and press Enter:

=FILTER(A1:D11,A1:A11=G2)

Summarize the usage of several Excel2021 special functions

6. Extract unique values ​​of specified conditions

As shown in the figure below, based on the specified area in cell G1, extract a list of unique products in the area from the table on the left.

Enter the following formula in cell F4 and press Enter:

=UNIQUE(FILTER(D2:D17,A2:A17=G1))

Summarize the usage of several Excel2021 special functions

The meaning of the formula is to use UNIQUE to obtain unique records based on the extraction by the FILTER function.

7. Extract multiple records that meet multiple conditions

As shown in the figure below, it is necessary to specify the department according to the G2 cell and the position specified in the G3 cell. Returns all records that match these two criteria.

Enter the following formula in cell F6 and press Enter:

=FILTER(A1:D11,(A1:A11=G2)*(B1:B11=G3))

Summarize the usage of several Excel2021 special functions

This formula is similar to the fifth example. Multiplying the two conditions means they are met at the same time. Using this method, we can add multiple sets of different conditions as needed.

Related learning recommendations:

excel tutorial

The above is the detailed content of Summarize the usage of several Excel2021 special functions. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:Excel Home. If there is any infringement, please contact admin@php.cn delete
MEDIAN formula in Excel - practical examplesMEDIAN formula in Excel - practical examplesApr 11, 2025 pm 12:08 PM

This tutorial explains how to calculate the median of numerical data in Excel using the MEDIAN function. The median, a key measure of central tendency, identifies the middle value in a dataset, offering a more robust representation of central tenden

Google Spreadsheet COUNTIF function with formula examplesGoogle Spreadsheet COUNTIF function with formula examplesApr 11, 2025 pm 12:03 PM

Master Google Sheets COUNTIF: A Comprehensive Guide This guide explores the versatile COUNTIF function in Google Sheets, demonstrating its applications beyond simple cell counting. We'll cover various scenarios, from exact and partial matches to han

Excel shared workbook: How to share Excel file for multiple usersExcel shared workbook: How to share Excel file for multiple usersApr 11, 2025 am 11:58 AM

This tutorial provides a comprehensive guide to sharing Excel workbooks, covering various methods, access control, and conflict resolution. Modern Excel versions (2010, 2013, 2016, and later) simplify collaborative editing, eliminating the need to m

How to convert Excel to JPG - save .xls or .xlsx as image fileHow to convert Excel to JPG - save .xls or .xlsx as image fileApr 11, 2025 am 11:31 AM

This tutorial explores various methods for converting .xls files to .jpg images, encompassing both built-in Windows tools and free online converters. Need to create a presentation, share spreadsheet data securely, or design a document? Converting yo

Excel names and named ranges: how to define and use in formulasExcel names and named ranges: how to define and use in formulasApr 11, 2025 am 11:13 AM

This tutorial clarifies the function of Excel names and demonstrates how to define names for cells, ranges, constants, or formulas. It also covers editing, filtering, and deleting defined names. Excel names, while incredibly useful, are often overlo

Standard deviation Excel: functions and formula examplesStandard deviation Excel: functions and formula examplesApr 11, 2025 am 11:01 AM

This tutorial clarifies the distinction between standard deviation and standard error of the mean, guiding you on the optimal Excel functions for standard deviation calculations. In descriptive statistics, the mean and standard deviation are intrinsi

Square root in Excel: SQRT function and other waysSquare root in Excel: SQRT function and other waysApr 11, 2025 am 10:34 AM

This Excel tutorial demonstrates how to calculate square roots and nth roots. Finding the square root is a common mathematical operation, and Excel offers several methods. Methods for Calculating Square Roots in Excel: Using the SQRT Function: The

Google Sheets basics: Learn how to work with Google SpreadsheetsGoogle Sheets basics: Learn how to work with Google SpreadsheetsApr 11, 2025 am 10:23 AM

Unlock the Power of Google Sheets: A Beginner's Guide This tutorial introduces the fundamentals of Google Sheets, a powerful and versatile alternative to MS Excel. Learn how to effortlessly manage spreadsheets, leverage key features, and collaborate

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.