Excel Tip: How to sum a column based on multiple conditions or criteria in other columns

Similar documents
Excel Formulas Cheat Sheet

Today Function. Note: If you want to retrieve the date and time that the computer is set to, use the =NOW() function.

2. To select a range of individual cells, hold down CTRL and click on each cell that you want to include in the range.

LOGO COL MATHEMATICAL MODELING with DATA. Instructor: Paul S. Lowman

Excel Reports: Formulas or PivotTables

VLOOKUP vs. SUMIFS. Battle of the Excel Heavyweights. made with

Excel Expert Microsoft Excel 2010

Excel 2007/2010/2013: Using Data Validation to provide dropdown selection menu

Excel 2007: Functions and Forumlas Learning Guide

FV Function Example Word Problem 1:

ADDITIONAL EXCEL FUNCTIONS

Functions are predefined formulas that perform calculations by using specific values, called arguments, in a particular order, or structure.

Using Advanced Formulas and 9 Securing Workbooks

Excel 2016: Formulas & Functions

10 Ways To Efficiently Analyze Your Accounting Data in Excel

Excel 2016 Functions

The SUM function: P. 251 Use a sum for a formula when you are trying to ADD different data (in a row or column) together.

Lesson 3: Logic and Reference Functions

Tutorial 8: Working with Advanced Functions. Microsoft Excel 2013 Enhanced

Lesson 06. Excel Functions

Hiding or Discarding Insignificant Rows in a Report Template

Excel Forecasting Tools Review

Returns the value of a specified cell or array of cells within an array.

Intermediate Excel 2016

Excel Comics. Why read boring ebooks! Volume 1. Page 1 of 21

FSFOA EXCEL INSTRUCTIONS. Tips and Shortcuts

Lesson 4: Auditing and Additional Formulas. Return to the FastCourse Excel 2007 Level 3 book page

Vlookup and Sumif Formulas to assist summarizing queried data

Excel 2016 Functions

Excel Tip: How to create a pivot table that updates automatically

Jump Right In! Essential Computer Skills Using Microsoft 2013 By Andrews, Dark, and West

Using Advanced Formulas

B&E 105: TECHNOLOGY FOR BUSINESS SOLUTIONS EXAM 5 CHECKLIST & OUTLINE

Introduction to COUNT Formulas for Excel 2010

EXCEL AS BUSINESS ANALYSIS TOOL. 10-May-2015

COMM 205 MANAGEMENT INFO SYSTEMS 2016 FALL MIDTERM EXAM REVIEW SESSION BY LEAH ZHANG

EVALUATION ONLY. In this lesson, you will use advanced. Functions EXCEL 2013 CASE STUDY: ANALYZING A FUNDRAISING CAMPAIGN LEARNING OBJECTIVES

MODULE VI: MORE FUNCTIONS

Formulas and Functions

Mathematical Operators for Excel

ADVANCED MS EXCEL 2007 USEFUL FUNCTIONS & FORMULAS FOR DAILY USE

Excel Foundation (Step 2)

Microsoft Office Excel 2007

Microsoft Excel 2010

Using Formulas and Functions

Microsoft Office Excel Use Excel s functions. Tutorial 2 Working With Formulas and Functions

Empower and invest in yourself WORKBOOK MICROSOFT EXCEL INTERMEDIATE

Data Service Center May, Compiled by: Katey Semmel Donna Frieze

Microsoft Excel Array Formulas

DOWNLOAD PDF MICROSOFT EXCEL ALL FORMULAS LIST WITH EXAMPLES

EXCEL INTERMEDIATE 1

Excel Basics Tips & Techniques

Excel Tips. Contents. By Dick Evans

Excel Formulas & Functions I CS101

Excel Cheat Sheet. Keyboard short cuts. Absolute or relative

Excel Project 1 Creating a Worksheet and an Embedded Chart

Excel Formulas 2018 Cindy Kredo Page 1 of 23

Lecture-14 Lookup Functions

AGB 260: Agribusiness Data Literacy. Advanced Functions and Logic

Excel 2013 Essentials Syllabus

EVALUATION COPY. Unauthorized Reproduction or Distribution Prohibited EXCEL ADVANCED

Introduction to Excel Excel Chapter 1 Robert Tureman

Top 20 Excel Limitations that might Frustrate You!

Consolidate and Summarizing Data from Multiple Worksheets

EVALUATION ONLY. In this chapter, you will learn new. Text and Analysis EXCEL 2016 CHAPTER TIMING PROJECT: ANALYZING SALES INFORMATION

Commonly Used Excel Formulas

Unit 3 Fill Series, Functions, Sorting

Tips for working efficiently with Excel's fill handle

Unit 3 Functions Review, Fill Series, Sorting, Merge & Center

Agenda. Spreadsheet Applications. Spreadsheet Terminology A workbook consists of multiple worksheets. By default, a workbook has 3 worksheets.

Microsoft Office Illustrated. Using Tables

Sort, Filter, Pivot Table

Customer details are included on a separate worksheet (Customer Look Up) Item details are included on a separate worksheet (Item Look Up)

ICT IGCSE Practical Revision Presentation Spreadsheets. Columns. Rows. This is a range of cells. More than one cell has been selected.

Excel Intermediate. Click in the name column of our Range of Data. (Do not highlight the column) Click on the Data Tab in the Ribbon

Rows area Values area

Excel 2016 Essentials Syllabus

EXCEL INTERMEDIATE 2016

Excel Functions & Tables

10 noviembre Spreadsheets. Unit 3 (Part 3)

MICROSOFT EXCEL 2000 LEVEL 3

ARTT BUSINESS SCHOOL INTRODUCTION TO INFORMATION TECHNOLOGY

Creating a Spreadsheet by Using Excel

Table of contents. Excel in English. Important information LAYOUT. Format Painter. Format Painter. Fix columns. Fix columns.

Tips & Tricks: MS Excel

MS Excel 2010 Tip: Using Fuzzy Lookup plugin for difficult lookup requirements

Index. calculated columns in tables, switching on, 58 calculation options (manual and automatic), 132 case sensitive filter, implementing, 37

Chapter 4. Microsoft Excel

2013 ADVANCED MANUAL

FOCUS ON: DATABASE MANAGEMENT

Basic Excel 2010 Workshop 101

GO! with Microsoft Excel 2016 Comprehensive

Excel QuickGuide 1 The AVERAGE Function

Sage Financial Reporter User's Guide. May 2017

Ahmad Al-Rjoub Excel Tutorial 7. Using Advanced Functions, Conditional Formatting, and Filtering

MICROSOFT EXCEL VERSION 2007 & 2010 LEVEL 4. WWP Learning and Development Ltd Page 1

INDEX INTRODUCTION TO EXCEL... 3 OVERVIEW OF EXCEL... 4 OFFICE BUTTON... 5

Data Analysis Utilizing Excel - Part 2 By Palani Murugappan

Status Bar: Right click on the Status Bar to add or remove features.

BASIC EXCEL WORKSHOP 2017

Transcription:

Excel Tip: How to sum a column based on multiple conditions or criteria in other columns Submitted by Jess on Mon, 02/24/2014-00:50 Have you ever wanted to sum a column of values but want to do it only on certain conditions? When using Microsoft Excel, this can be done using some formula and formula combinations. Suppose you have a column of names and values and you want to sum up the figures for a certain name. Here is a sample of sales data. Page 1 of 5

In the sample data above, we are supposed to calculate the total for the four (4) sales persons. In this case, we cannot simply sum the entire figures in column D as there are 4 sales persons in column. That kind of sum will be for all sales persons, but what we need is the total sales of every sales person. Using the SUMIF formula We can computer this kind of conditional sum using the SUMIF formula. Given the sample data above, here are the formulas To sum up total sales for Paul A: =SUMIF(C3:C22,"=Paul A",D3:D22) To sum up total sales for Eric A: Page 2 of 5

=SUMIF(C3:C22,"=Eric A",D3:D22) To sum up total sales for James C: =SUMIF(C3:C22,"=James C",D3:D22) To sum up total sales for John T: =SUMIF(C3:C22,F6,D3:D22) SUMIF Formula Usage You use the SUMIF function to sum the values in a range that meet criteria that you specify. Syntax SUMIF(range, criteria, [sum_range]) The SUMIF function syntax has the following arguments (argument: A value that provides information to an action, an event, a method, a property, a function, or a procedure.): range (Required): The range of cells that you want evaluated by criteria. Cells in each range must be numbers or names, arrays, or references that contain numbers. Blank and text values are ignored. NOTE: This is not the actual cells to be added. criteria (Required): The criteria in the form of a number, expression, a cell reference, text, or a function that defines which cells will be added. For example, criteria can be expressed as 32, ">32", B5, 32, "32", "apples", or TODAY(). IMPORTANT: Any text criteria or any criteria that includes logical or mathematical symbols must be enclosed in double quotation marks ("). If the criteria is numeric, double quotation marks are not required. sum_range (Optional): The actual cells to add, if you want to add cells other than those specified in the range argument. If the sum_range argument is omitted, Excel adds the cells that are specified in the range argument (the same cells to which the criteria is applied). Suppose further that another column is added for QUARTER. And then you need to calculate the total sales per sales person and per quester. Thus, you will have two (2) conditions this time. Page 3 of 5

Using SUMIFS for Multiple Conditions In this case where multiple conditions are required to be met, SUMIFS will be used. SUMIFS function simply adds numbers based on multiple criteria. Syntax SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2],...) The SUMIFS function syntax has the following arguments (argument: A value that provides information to an action, an event, a method, a property, a function, or a procedure.): sum_range (Required): One or more cells to sum, including numbers or names, ranges, or cell references (cell reference: The set of coordinates that a cell occupies on a worksheet. For example, the reference of the cell that appears at the intersection of column B and row 3 is B3.) that contain numbers. Blank and text values are ignored. criteria_range1 (Required): The first range in which to evaluate the associated criteria. criteria1 (Required): The criteria in the form of a number, expression, cell reference, or text that define which cells in the criteria_range1 argument will be added. For example, criteria can be expressed as 32, ">32", B4, "apples", or "32." criteria_range2, criteria2, Optional. Additional ranges and their associated criteria. Up to 127 range/criteria pairs are allowed. Page 4 of 5

To computer the total sales for Paul A for the first quarter in our sample data, the formula is: =SUMIFS($D$3:$D$22,$C$3:$C$22,$G10,$E$3:$E$22,H9) In that formula, cell ranges are locked (indicated by the $ signs) since they are not intended to change when you drag the formulas across or downwards. When interpreted, the formula simply ADDS the numbers in the range D3:D22 if: 1. Check column C for "Paul A" and the corresponding D value will be added to the SUM 2. Check column E and see if it is I, II, III or IV and perform the sum accordingly. Below is the completed sample file that you can download. MS Office Software: MS Excel [1] Attachment Sample-SUMIF-SUMIFS.xlsx [2] Size 11.88 KB Source URL: http://technicalforum.org/ms-office/excel-tip-how-sum-column-based-multiple-conditionsor-criteria-other-columns Links [1] http://technicalforum.org/taxonomy/category-microsoft-office-1 [2] http://technicalforum.org/sites/default/files/msoffice-tips-files/sample-sumif-sumifs.xlsx Page 5 of 5