Home >Topics >excel >One article teaches you the folding table classification and summary function of Excel

One article teaches you the folding table classification and summary function of Excel

WBOY
WBOYforward
2022-05-12 11:58:026723browse

This article brings you relevant knowledge about excel. It mainly introduces related issues about folding tables, which is the function of classification and summary. It will be very convenient to view the data in this way. The following is Let's take a look, hope it helps everyone.

One article teaches you the folding table classification and summary function of Excel

Related learning recommendations: excel tutorial

Let’s first look at the display effect of a table.

One article teaches you the folding table classification and summary function of Excel

# Isn’t it very convenient to view data like this? It’s cool and convenient.

There are many friends who definitely don’t know how to set this up. In fact, this is the well-known classification and summary function. Let’s learn about it today.

In daily work, it is often necessary to quickly classify data and summarize projects in a certain way.

The classification and summary function can help us achieve such requirements.

For example, the following data:

One article teaches you the folding table classification and summary function of Excel

Such a data source is very regular, and our requirement is just to summarize this data according to levels. The number of people at the level, and the subsidy items must also be summed.

Friends who know something about classification and aggregation may be impatient:

Select all data areas, click [Data] [Classification and Summary]~

STOP!

Don’t worry, don’t worry, the most important step of classification and aggregation [sorting] has not been done yet.

Yes, it is sorting. If the reference level of classification is not sorted, the consequences of direct classification and aggregation will be messed up:

One article teaches you the folding table classification and summary function of Excel

Such a result is obviously not Meet the requirements in daily work. ~

First, sort the reference columns [levels] that need to be summarized. After sorting, content of the same category will be gathered together.

One article teaches you the folding table classification and summary function of Excel

Then we can classify and summarize them, and that’s it.

One article teaches you the folding table classification and summary function of Excel

Note that [Level] is checked here, the purpose is to calculate the number of people at each level~

Click the [OK] button to complete the preliminary process .

Click on the summary cell, which contains the automatically generated summary formula.

One article teaches you the folding table classification and summary function of Excel

The subsidy and other contents of each level have been summed and summarized, but we see that the count of each level in column B still shows 0.

One article teaches you the folding table classification and summary function of Excel

Here are some additional explanations about the SUBTOTAL function. It’s up to the officers to figure out more.

One article teaches you the folding table classification and summary function of Excel

I believe that at this time, some readers already know that if the first parameter of SUBTOTAL is 3, it is counting. If the first parameter is 9, it is summation calculation.

How to batch modify the formula for calculating the number of levels to count? You can do this~

Select column B where [Level] is located, press Ctrl H to bring up the replacement dialog box.

One article teaches you the folding table classification and summary function of Excel

Click the plus sign or minus sign on the left or the number in the upper left corner to display it hierarchically.

Related learning recommendations: excel tutorial

The above is the detailed content of One article teaches you the folding table classification and summary function of Excel. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:excelhome.net. If there is any infringement, please contact admin@php.cn delete