search
HomeTopicsexcelSummarize and organize Excel data sorting methods

This article brings you relevant knowledge about excel, which mainly introduces the summary of data sorting methods. Sorting, as the name suggests, is to arrange the data in a certain order. In work and life Sorting applications can be found everywhere. Let’s take a look at how to sort in excel. I hope it will be helpful to everyone.

Summarize and organize Excel data sorting methods

Related learning recommendations: excel tutorial

Sort, as the name suggests, is to arrange the data in a certain order. Sorting applications can be seen everywhere in work and life, such as sorting test scores from high to low, sorting people by department, sorting leaders' names by strokes of their surname, and so on.

1. Conventional sorting

For example, sort the amounts in the picture below from high to low:

Summarize and organize Excel data sorting methods

Friends who are used to using right-click menus can click any cell in column D with data, right-click the mouse, and select "Descending" in the menu.

Descending order means from large to small, ascending order means from small to large.

Some friends may ask, after sorting column D, will the first three columns be messed up?

You really don’t have to worry about this. When sorting, the records in each row are automatically followed. It’s impossible to beat a mandarin duck with a stick.

Summarize and organize Excel data sorting methods

There are several commands in the right-click menu in the picture above. You can understand the functions literally: one is to sort by cell fill color, and the other is to sort by font color. .

Sort by icon means that when the icon set function in conditional formatting is used, the specified icon can be displayed at the top.

If you are used to using the function menu, you can also click on any cell in column D with data and click the [Descending] button under the [Data] tab.

Summarize and organize Excel data sorting methods

2. Multi-column sorting

Increase the difficulty factor: If you want to sort the amounts in the same year in ascending order, what should you do?

It only takes two steps, first click any cell in the "Amount" column with a low priority, and click the [Descending] button under the [Data] tab. Then click any cell in the "Year" column with a high priority, and click the [Descending] button under the [Data] tab.

Now we need to sort by year first, and then sort by the amount in that year from large to small.

Summarize and organize Excel data sorting methods

3. Random sorting

If you want to randomly sort the data, you can first enter a function that can generate random decimals in the blank column:

=RAND()

Then sort this column several times. Each time, RAND will generate different decimals. After several rounds, the data will become out of order.

Summarize and organize Excel data sorting methods

4. Multi-condition sorting

If the number of data columns is relatively large, you can also use the [Sort] dialog box to operate when sorting by multiple columns. .

For example, the result of the operation in the picture below is to sort by year first.

For the same year, sort by category.

For the same year and the same category, sort by amount.

Summarize and organize Excel data sorting methods

5. Sort by job title

In addition to sorting by numerical value, many times it is also necessary to sort by job title. But Excel doesn’t know which of our administrative levels is the highest and which is the lowest. What should we do?

At this time we can give Excel a custom sequence and tell Excel the level of sorting.

First enter the custom sequence in the cell, select it, click the [File] button in the upper left corner → [Options] to open the [Excel Options] dialog box.

Summarize and organize Excel data sorting methods

Follow the steps below to edit the custom list:

Summarize and organize Excel data sorting methods

After adding the custom sequence, you can press This rule is sorted.

Summarize and organize Excel data sorting methods

6. Sort by strokes

A seminar on the Taliban issue was held in the township. A township chief was in the front, followed by 18 deputy township chiefs, all at the same level. How to sort them? By the way, just sort by strokes.

Summarize and organize Excel data sorting methods

#7. Mixed content sorting

In the picture below, if you sort the office addresses in column B in ascending order, guess what it will look like?

111Summarize and organize Excel data sorting methods

Let’s do it first and see what the effect is:

Summarize and organize Excel data sorting methods

This is because when sorting mixed content, Excel does not The fields are not sorted by numbers and text separately, but are sorted directly by text.

When sorting text, Excel will compare each character in turn.

Take the sorting results in the figure below as an example. The first character is 1, and the first character is 2.

If the first character is the same, Excel will compare the second character.

The second character of B2 is "0", which is smaller than the second character "1" of B3, and the second character "1" of B3 is smaller than the second character "number" of B4 , so this weird-looking sorting result appears.

Summarize and organize Excel data sorting methods

What should I do if I want to sort by numbers and text separately?

Yes, it is easier to split the numbers and then sort them.

Summarize and organize Excel data sorting methods

#If you learn data sorting well, your boss will treat you as a treasure and ask you to solve a lot of problems. You will not be able to run overtime every day.

Related learning recommendations: excel tutorial

The above is the detailed content of Summarize and organize Excel data sorting methods. 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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools