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.
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))&””
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)
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)
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)
##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)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))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!

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

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

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

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

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

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

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

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


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

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 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
A free and powerful IDE editor launched by Microsoft

Dreamweaver CS6
Visual web development tools

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.