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 convert number to text in Excel - 4 quick waysHow to convert number to text in Excel - 4 quick waysMay 15, 2025 am 10:10 AM

This tutorial shows how to convert numbers to text in Excel 2016, 2013, and 2010. Learn how to do this using Excel's TEXT function and use numbers to strings to specify the format. Learn how to change the format of numbers to text using the Format Cell… and Text to Column options. If you use an Excel spreadsheet to store long or short numbers, you may want to convert them to text one day. There may be different reasons to change the number stored as a number to text. Here is why you might need to have Excel treat the entered number as text instead of numbers: Search by part rather than the whole number. For example, you might want to find all numbers containing 50, such as 501

How to make a dependent (cascading) drop-down list in ExcelHow to make a dependent (cascading) drop-down list in ExcelMay 15, 2025 am 09:48 AM

We recently delved into the basics of Excel Data Validation, exploring how to set up a straightforward drop-down list using a comma-separated list, cell range, or named range.In today's session, we'll delve deeper into this functionality, focusing on

How to create drop down list in Excel: dynamic, editable, searchableHow to create drop down list in Excel: dynamic, editable, searchableMay 15, 2025 am 09:47 AM

This tutorial shows simple steps to create a drop-down list in Excel: Create from cell ranges, named ranges, Excel tables, other worksheets. You will also learn how to make Excel drop-down menus dynamic, editable, and searchable. Microsoft Excel is good at organizing and analyzing complex data. One of its most useful features is the ability to create drop-down menus that allow users to select items from predefined lists. The drop-down menu allows for faster, more accurate and more consistent data entry. This article will show you several different ways to create drop-down menus in Excel. - Excel drop-down list - How to create dropdown list in Excel - From the scope - From the naming range

Convert PDF to Excel manually or using online convertersConvert PDF to Excel manually or using online convertersMay 15, 2025 am 09:40 AM

The PDF format, known for its ability to display documents independently of the user's software, hardware, or operating system, has become the standard for electronic file sharing.When requesting information, it's common to receive a well-formatted P

How to convert Excel files to PDFHow to convert Excel files to PDFMay 15, 2025 am 09:37 AM

This short tutorial describes 4 possible ways to convert Excel files to PDF - using Excel's Save As feature, Adobe software, online Excel to PDF converter, and desktop tools. Converting an Excel worksheet to a PDF is usually necessary if you want other users to be able to view your data but can't edit it. You may also want to convert Excel spreadsheets to PDF format for use in media toolkits, presentations, and reports, or create a file that all users can open and read even if they don't have Microsoft Excel installed, such as on a tablet or phone. Today, PDF is undoubtedly one of the most popular file formats. According to Google

How to use SUMIF function in Excel with formula examplesHow to use SUMIF function in Excel with formula examplesMay 13, 2025 am 10:53 AM

This tutorial explains the Excel SUMIF function in plain English. The main focus is on real-life formula examples with all kinds of criteria including text, numbers, dates, wildcards, blanks and non-blanks. Microsoft Excel has a handful o

IF function in Excel: formula examples for text, numbers, dates, blanksIF function in Excel: formula examples for text, numbers, dates, blanksMay 13, 2025 am 10:50 AM

In this article, you will learn how to build an Excel IF statement for different types of values as well as how to create multiple IF statements. IF is one of the most popular and useful functions in Excel. Generally, you use an IF statem

How to sum a column in Excel - 5 easy waysHow to sum a column in Excel - 5 easy waysMay 13, 2025 am 09:53 AM

This tutorial shows how to sum a column in Excel 2010 - 2016. Try out 5 different ways to total columns: find the sum of the selected cells on the Status bar, use AutoSum in Excel to sum all or only filtered cells, employ the SUM function

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

Video Face Swap

Video Face Swap

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

Hot Article

Hot Tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment