• Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us
Excel

How to Sum Same Codes in Excel

0 Comments

How to Sum Same Codes in Excel: Summing the same codes in Excel is a task that many people encounter in their work, especially when working on statistics/summaries. Whether you need to sum the quantity or total amount of specific product codes, Excel provides several functions that can help you accomplish this task quickly and accurately. In this article from Buffcom.net, we will show you how to use the SUMIF and SUMPRODUCT functions to sum the same codes in Excel.

For example, we have a data table as shown in the figure below. We need to sum the total amount of all tea products.

How to Sum Same Codes in Excel

How to Sum Same Codes in Excel

1. Use SUMIF function

As you can see in the figure above, there are 3 types of tea: peach tea, lemon tea, and kumquat tea. To sum the total amount of each tea type, we need to use the SUMIF function combined with the asterisk (*) as a wildcard character according to the formula:
=SUMIF(range of condition reference, “”& “search string”&””, range to sum)

Applying this formula to the spreadsheet, we will have the following formula to sum the total amount of each tea product:

=SUMIF(B2:B10;””&”Tea”&””;E2:E10)

How to Sum Same Codes in Excel

How to Sum Same Codes in Excel

2. Use SUMPRODUCT function

Another way to sum the total amount of tea products is to use the SUMPRODUCT function combined with the IFERROR and SEARCH functions. Enter the formula below into Excel and then press the Ctrl + Shift + Enter key combination.
=SUMPRODUCT((E2:E10)*(IFERROR(SEARCH(“Tea”;B2:B10);0)>0))

With the above formula, the IFERROR(SEARCH(“Tea”;B2:B10);0) function will search for cells in column B that contain the string “Tea” and return a value greater than 0, or return 0 if not found. When this formula is entered into the SUMPRODUCT function, Excel will compare the result to >0 and sum the corresponding total amount in column E.

Although the SUMPRODUCT formula is an array formula, which means you don’t have to use the Ctrl + Shift + Enter key combination in regular cases, for this case, you must use this key combination or you will not get accurate results.

How to Sum Same Codes in Excel

How to Sum Same Codes in Excel

In conclusion, summing the same codes in Excel is a common task in many workplaces. By using the SUMIF or SUMPRODUCT functions, you can quickly and accurately sum the quantity or total amount of specific codes. These functions can save you time and effort when working with large data sets, making them essential tools for data analysis in Excel.

We hope that this guide has been helpful to you and that you can use these functions to simplify your work. As always, practice makes perfect, so don’t be afraid to experiment with different formulas to find the best one for your needs.

Rate this post
31
296 Views
Using PivotTable for Reporting and Statistics in ExcelPrevUsing PivotTable for Reporting and Statistics in ExcelMarch 6, 2023
Excel Cost Management Accounting in BusinessMarch 6, 2023Excel Cost Management Accounting in BusinessNext

Leave a Reply Cancel reply

You must be logged in to post a comment.

Buy Windows 11 Professional MS Products CD Key
Buy Office 2021 Professional Plus Key Global For 5 PC
Top rated products
  • Avast Premium Security 2021 10 Devices 1 Year Global Avast Premium Security 2021 10 Devices 1 Year Global
    Rated 5.00 out of 5
    $28.00
  • Avast Ultimate Suite 2021 3 Years 10 Devices Global Avast Ultimate Suite 2021 3 Years 10 Devices Global
    Rated 5.00 out of 5
    $90.00
  • Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global
    Rated 5.00 out of 5
    $22.00
  • Kaspersky Internet Security 2021 1 year 1 device key Global Kaspersky Internet Security 2021 1 year 1 device key Global
    Rated 5.00 out of 5
    $24.00
  • Kaspersky Internet Security 2021 1 year 5 devices key Global Kaspersky Internet Security 2021 1 year 5 devices key Global
    Rated 5.00 out of 5
    $45.00
Products
  • Microsoft Visio Professional 2013 Key 1PC Microsoft Visio Professional 2013 Key 1PC $9.00
  • Microsoft Office Home And Business 2019 CD Key for MAC Global Microsoft Office Home And Business 2019 CD Key for MAC Global
    Rated 4.95 out of 5
    $30.00
  • AVG Internet Security 2021 10 Devices 1 Year Global AVG Internet Security 2021 10 Devices 1 Year Global
    Rated 5.00 out of 5
    $30.00
  • AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 1 Year AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 1 Year
    Rated 4.91 out of 5
    $34.00
  • Buy Microsoft Office Professional Plus 2019 CD Key Global - 5 PC Buy Microsoft Office Professional Plus 2019 CD Key Global - 5 PC
    Rated 4.95 out of 5
    $32.00
  • Windows 10 Home OEM Key Global Windows 10 Home OEM Key Global
    Rated 4.80 out of 5
    $6.00
  • office-professional-2016-international Microsoft Office Professional Plus 2016 Retail CD Key
    Rated 4.92 out of 5
    $13.00
  • Avast SecureLine VPN 2021 2 Years 5 Devices Global Avast SecureLine VPN 2021 2 Years 5 Devices Global
    Rated 5.00 out of 5
    $47.00
  • Windows 11 Pro Key Global Windows 11 Pro Key Global
    Rated 5.00 out of 5
    $6.00
  • Windows Server 2019 Standard Key Global Windows Server 2019 Standard Key Global
    Rated 4.68 out of 5
    $7.00
Product categories
  • Anti Virus
  • Microsoft Office
  • Microsoft Project
  • Microsoft Visio
  • Microsoft Visual
  • Microsoft Windows
  • Other Software
  • Uncategorized

Buffcom.net always brings the best digital products and services to you. Specializing in Office Software and online marketing services

BIG SALE 50% IN MAY

Microsoft Office
Microsoft Windows
Anti-Virus
Contact Us

Visit Us:

125 Division St, New York, NY 10002, USA

Mail Us:

buffcom.net@gmail.com

TERMS & CONDITIONS | PAYMENT GUIDE  | SHIPPING POLICY  | REFUND POLICY

Copyright © 2019 buffcom.net  All Rights Reserved.