search
HomeSoftware TutorialOffice SoftwareUse Excel functions to summarize multiple project expenses by category

Use Excel functions to summarize multiple project expenses by category

How to classify and summarize multiple expenses of a project using functions in excel

First, we need to define the problem. You are given a set of raw data with three columns: company, employee name, and age. The company's identification is A, B, C, D, but these data are intertwined and confusing. Our goal is to categorize and aggregate the data by company for better analysis and understanding.

Secondly, sorting data is an important operation before classifying and summarizing data. In the menu bar of the Excel document, click the "Data" option and select the "Sort" function. In the pop-up dialog box, find the "Main Keyword" drop-down menu and select "Company" as the basis for sorting. After completing the settings, click the "OK" button to perform the sorting operation. This ensures that the data is arranged in the order of the company and facilitates subsequent data classification and summary work.

Third, sort the results. After performing the second step, you can see the sorting results of the data, as shown. Obviously, the data arrangement is much clearer than the original data arrangement. The company names are arranged in order A, B, C, and D. Perhaps, you will feel that this is enough, but when the amount of data is large, this is far from enough.

Fourth, data classification. At this time, still select "Data" in the excel menu bar, and then select "Classification and Summary". In the pop-up dialog box, the classification field is "Company Name", the classification method is "Count", and the summary item is selected. Select "Company Name", keep other options as default, and click "OK".

Fifth, classification results. As shown in the figure, the results of the classification and aggregation are very beautiful. The data is not only arranged in order A, B, C, and D, but also gives the number of employees in each company, which are 5, 4, 5, and 6 respectively, for a total of 20. When the amount of data is large and there are many projects, the above method can be used for effective classification and summary, which is very convenient.

How to perform classification and summary in excel

If the data is in column A, then the statistics are 0-59. Enter the formula: =COUNTIF(A$1:A$100,"

60-69 =COUNTIF(A$1:A$100,"

70-79 =COUNTIF(A$1:A$100,"

80-89 =COUNTIF(A$1:A$100,"

90-100 =COUNTIF(A$1:A$100,"

If the data range is there, just change A$1:A$100 in the formula to another range.

Please adopt the above.

How to classify and summarize data in excel

1. First sort the data by the column that needs to be classified and summarized (in this case, the "City" column).

Select any cell in the "City" column and click the sort button in the toolbar such as "A→Z" in Excel 2003. In Excel 2007, select the "Data" tab in the ribbon and click the "A→Z" button in the "Sort and Filter" group.

2. Select a cell in the data area and click the menu "Data → Subtotal" in Excel 2003. If this is Excel 2007, on the Data tab, in the Outline group, click Subtotals.

3. In the pop-up "Classification and Summary" dialog box, select "City" under "Category Field" and select a certain summary method in "Summary Method". The available summary methods are "And", "Count", "Average", etc. In this example, the default "Sum" is selected. Under Selected Summary Items, select only Sales.

4. Click OK and Excel will classify and summarize by city.

The above is the detailed content of Use Excel functions to summarize multiple project expenses by category. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:Excel办公网. If there is any infringement, please contact admin@php.cn delete
How to Use the PIVOTBY Function in ExcelHow to Use the PIVOTBY Function in ExcelApr 11, 2025 am 12:56 AM

Quick Links The PIVOTBY Syntax

How to Format a Spilled Array in ExcelHow to Format a Spilled Array in ExcelApr 10, 2025 pm 12:01 PM

Use formula conditional formatting to handle overflow arrays in Excel Direct formatting of overflow arrays in Excel can cause problems, especially when the data shape or size changes. Formula-based conditional formatting rules allow automatic formatting to be adjusted when data parameters change. Adding a dollar sign ($) before a column reference applies a rule to all rows in the data. In Excel, you can apply direct formatting to the values ​​or background of a cell to make the spreadsheet easier to read. However, when an Excel formula returns a set of values ​​(called overflow arrays), applying direct formatting will cause problems if the size or shape of the data changes. Suppose you have this spreadsheet with overflow results from the PIVOTBY formula,

You Need to Know What the Hash Sign Does in Excel FormulasYou Need to Know What the Hash Sign Does in Excel FormulasApr 08, 2025 am 12:55 AM

Excel Overflow Range Operator (#) enables formulas to be automatically adjusted to accommodate changes in overflow range size. This feature is only available for Microsoft 365 Excel for Windows or Mac. Common functions such as UNIQUE, COUNTIF, and SORTBY can be used in conjunction with overflow range operators to generate dynamic sortable lists. The pound sign (#) in the Excel formula is also called the overflow range operator, which instructs the program to consider all results in the overflow range. Therefore, even if the overflow range increases or decreases, the formula containing # will automatically reflect this change. How to list and sort unique values ​​in Microsoft Excel

How to Create a Timeline Filter in ExcelHow to Create a Timeline Filter in ExcelApr 03, 2025 am 03:51 AM

In Excel, using the timeline filter can display data by time period more efficiently, which is more convenient than using the filter button. The Timeline is a dynamic filtering option that allows you to quickly display data for a single date, month, quarter, or year. Step 1: Convert data to pivot table First, convert the original Excel data into a pivot table. Select any cell in the data table (formatted or not) and click PivotTable on the Insert tab of the ribbon. Related: How to Create Pivot Tables in Microsoft Excel Don't be intimidated by the pivot table! We will teach you basic skills that you can master in minutes. Related Articles In the dialog box, make sure the entire data range is selected (

How to Use the GROUPBY Function in ExcelHow to Use the GROUPBY Function in ExcelApr 02, 2025 am 03:51 AM

Excel's GROUPBY function: Powerful data grouping and aggregation tools Excel's GROUPBY function allows you to group and aggregate data based on specific fields in a data table. It also provides parameters that allow you to sort and filter the data so that you can customize the output to your specific needs. GROUPBY function syntax The GROUPBY function contains eight parameters: =GROUPBY(a,b,c,d,e,f,g,h) Parameters a to c are required: a (row field): A range (one column or multiple columns) containing the value or category to which the data is grouped. b (value): The range of values ​​containing aggregated data (one column or multiple columns).

Don't Hide and Unhide Columns in Excel—Use Groups InsteadDon't Hide and Unhide Columns in Excel—Use Groups InsteadApr 01, 2025 am 12:38 AM

Excel efficient grouping: say goodbye to hidden columns and embrace flexible data management! While hidden columns can temporarily remove unnecessary data, grouping columns are often a better choice when dealing with large data sets or pursuing flexibility. This article will explain in detail the advantages and operation methods of Excel column grouping to help you improve data management efficiency. Why is grouping better than hiding? Hiding columns (right-click on the column title and select "Hide") can easily lead to data forgetting, even the column title prompt is not reliable because the title itself can be deleted. In contrast, grouped columns are faster and more convenient to expand and fold, which not only improves work efficiency, but also enhances user experience, especially when multi-person collaboration. Additionally, grouping columns allow creation of subgroups, which cannot be achieved by hidden columns. This is the number

How to Completely Hide an Excel WorksheetHow to Completely Hide an Excel WorksheetMar 31, 2025 pm 01:40 PM

Excel worksheets have three levels of visibility: visible, hidden, and very hidden. Setting the worksheet to "very hidden" reduces the likelihood that others can access them. To set the worksheet to "very hidden", set its visibility to "xlsSheetVeryHidden" in the VBA window. Excel worksheets have three levels of visibility: visible, hidden, and very hidden. Many people know how to hide and unhide the worksheet by right-clicking on the tab area at the bottom of the workbook, but this is just a medium way to remove the Excel worksheet from the view. Whether you want to organize the workbook tabs, set up dedicated worksheets for drop-down list options and other controls, keeping only the most important worksheets visible, and

Use the PERCENTOF Function to Simplify Percentage Calculations in ExcelUse the PERCENTOF Function to Simplify Percentage Calculations in ExcelMar 27, 2025 am 03:03 AM

Excel's PERCENTOF function: Easily calculate the proportion of data subsets Excel's PERCENTOF function can quickly calculate the proportion of data subsets in the entire data set, avoiding the hassle of creating complex formulas. PERCENTOF function syntax The PERCENTOF function has two parameters: =PERCENTOF(a,b) in: a (required) is a subset of data that forms part of the entire data set; b (required) is the entire dataset. In other words, the PERCENTOF function calculates the percentage of the subset a to the total dataset b. Calculate the proportion of individual values ​​using PERCENTOF The easiest way to use the PERCENTOF function is to calculate the single

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
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment