In the previous article "Excel Case Sharing: Using Function Formulas to Verify the Authenticity of the ID Number", we learned the function formula of Excel to verify the authenticity of the ID number. Today we will talk about summing across worksheets in Excel, and introduce to you 4 methods. For different tables, you can quickly merge data across worksheets in Excel, faster than you can imagine!
We all know that in the same worksheet, if you want to get the total result of multiple values, you usually use the SUM function or the higher-order SUMIF and SUMIFS, but if the data is in different In the worksheet, should we implement cross-sheet summation statistics in Excel? Today, I will introduce to you two methods to help achieve cross-sheet totaling of values based on two cases of consistent rows and inconsistent rows.
1. Totals of multiple tables with consistent rows and rows in Excel
As shown in the figure, you need to add each department in the three worksheets from January to March The sales data of each product are aggregated into a summary table. The row, column, field names and sort order in these three tables are consistent.
Let me introduce two methods to you.
The first method:
1. Copy and paste January’s data into the summary table
2. Copy February’s data , then select cell B2 in the summary table, right-click and paste special.
For operation, select Add and OK to add the data for January and February together.
3. In the same way, copy the data for March, then selectively paste it in the summary table, and select Add for calculation.
In this way, the total data of the three tables is obtained in the summary table.
Summary:
Use the special paste operation to quickly add the values in multiple areas to achieve the goal.
Advantages: Easy to operate and easy to use.
Disadvantages: You must select areas of the worksheet one by one to copy and paste. If there are too many worksheets, the operation is cumbersome.
Second method:
1. Enter =SUM in cell B2 of the summary worksheet to bring up the function editing interface.
2. Select the worksheet January, hold down the Shift key, and then select the worksheet March. In this way, all worksheets from January to March are selected, and then click cell B2.
3. Click enter to complete the formula input. The formula is: =SUM("January:March"!B2). Then in the summary table, the formulas are filled to the right and down.
Summary:
Select the first worksheet, hold down the Shift key and then select the last worksheet to form a group of consecutive worksheets and then use The SUM function sums the same cells in this group. This kind of worksheet group is very convenient when we perform batch operations on the same worksheet.
Advantages: The method is fast and multiple worksheets can be operated quickly.
Disadvantages: Each worksheet's row, column, field names and sorting order must be exactly the same.
2. Totals of multiple tables with inconsistent rows and rows in Excel
It is impossible for us to encounter the above situation 100% during the work process If the table templates are completely consistent, what if the rows and rows are inconsistent?
As shown below, we need to count the sales of different products sold by different service providers from January to March. The rows and columns of each table are not completely consistent, and the order is also different.
Here we also introduce two methods to you.
The first method:
1. Select any blank cell under the summary worksheet, click the Consolidate Calculation in the Data Tools group under the Data tab .
2. In the combined calculation window, click the button next to Browse and select the areas to be calculated in the three worksheets in turn.
3. Click Add, and the newly added cell areas will appear in all reference location areas below. After all are added, click on the first row and leftmost column to confirm .
Tips: When selecting the first worksheet area, select an area that can include three worksheet cells. For example, the above example is $ A$1:$E$5, so when you click on other worksheets, the reference position will select $A$1:$E$5 by default, so you don’t have to reframe the range for each worksheet.
4. All the data has been summarized in the worksheet, and finally the format can be modified.
Summary:
The combined calculation is summarized according to the standards of the first row and the leftmost column, and the two fields are completely consistent. The total can be added up. If there is any inconsistency, it will be automatically displayed in a new row or column.
Advantages: Easy to operate, suitable for fields with inconsistent rows and columns
Disadvantages: When the source data changes, the results cannot be automatically refreshed. If data analysis is required, it is impossible to determine where the data comes from. month.
Second method:
1. Enter the ALT D P shortcut key on the worksheet to pop up the Pivot Table and Pivot Chart Wizard. Select the multiple consolidated data area and pivot table, click Next
2. Click the custom page field and select Next.
3. In the selected area, select the area that needs to be summarized in January and add it to all areas.
The page field created in the pivot table must be 1, and enter January in field 1.
In the same way, add February and March in sequence.
Tips: Just like consolidated calculations, here we can also select a range of three worksheet cells when selecting the first worksheet range. range, clicking other worksheets will include these cell areas by default, but the pivot table will be blank, then we can filter out the blanks.
Note: In all areas, clicking on the field below each area will display the newly added field names in the corresponding area for easy inspection to avoid duplicate or incorrect field name input. Of course, if you don’t want to add field names here, the merge can be successful.
4. The pivot table display position is in the new worksheet.
#5. In this way, we will get a pivot table to complete the total of multiple tables.
Summary:
The method of multiple merged pivot tables can summarize multiple worksheets as the same data source for pivoting. For table calculations, our newly added fields are displayed on page 1, and data can be analyzed and merged completely according to the pivot table method. And if the data in other worksheets changes, we can get the new total by refreshing the data table.
Advantages: Advanced analysis of data and linked updates of data sources can be achieved.
Disadvantages: The operation is relatively complicated.
The four methods introduced above each have their own advantages and disadvantages, and are applicable to different situations. I hope you can choose a method that is more suitable for you based on your actual needs.
Related learning recommendations: excel tutorial
The above is the detailed content of Practical Excel skills sharing: Four methods for summing across worksheets. For more information, please follow other related articles on the PHP Chinese website!

本篇文章给大家带来了关于excel的相关知识,其中主要介绍了关于折叠表格的相关问题,就是分类汇总的功能,这样查看数据会非常的方便,下面一起来看一下,希望对大家有帮助。

在之前的文章《实用Excel技巧分享:利用 数据透视表 来汇总业绩》中,我们学习了下Excel数据透视表,了解了利用数据透视表来汇总业绩的方法。而今天我们来聊聊怎么计算时间差(年数差、月数差、周数差),希望对大家有所帮助!

本篇文章给大家带来了关于excel的相关知识,其中主要介绍了关于AGGREGATE函数的相关内容,该函数用法与SUBTOTAL函数类似,但在功能上比SUBTOTAL函数更加强大,下面一起来看一下,希望对大家有帮助。

在之前的文章《实用Word技巧分享:聊聊你没用过的“行号”功能》中,我们了解了Word中你肯定没用过的"行号”功能。今天继续实用Word技巧分享,看看Excel表格怎么借用Word进行分栏打印,快来收藏使用吧!

本篇文章给大家带来了关于excel的相关知识,其中主要介绍了关于zenmm制作倒计时牌的相关内容,使用Excel中的日期函数结合按指定时间刷新的VBA代码,即可制作出倒计时牌,下面一起来看一下,希望对大家有帮助。

在之前的文章《实用Excel技巧分享:原来“定位功能”这么有用!》中,我们了解了定位功能的妙用。而今天我们聊聊合并后的单元格如何实现筛选功能,分享一种复制粘贴和方法解决这个问题,另外还会给大家分享一种合并单元格的不错的替代方式。

本篇文章给大家带来了关于excel的相关知识,其中主要介绍了关于如何使用函数寻找总和为某个值的组合的问题,下面一起来看一下,希望对大家有帮助。

本篇文章给大家带来了关于Excel的相关知识,其中主要介绍了关于XLOOKUP函数的相关知识,包括了常规查询、逆向查询、返回多列、自动除错以及近似查找等内容,下面一起来看一下,希望对大家有帮助。


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

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

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

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Dreamweaver CS6
Visual web development tools

SublimeText3 Chinese version
Chinese version, very easy to use

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.
