0% found this document useful (0 votes)
3 views

excel-38

The document explains how to use AVERAGEIFS, SUMIFS, and COUNTIFS functions in Excel to summarize data based on specific criteria. It also details the use of the IFERROR function to handle errors in formulas, particularly with VLOOKUP, and provides the syntax for the IF function and COUNT function. These functions allow users to perform calculations and manage data effectively in Excel.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

excel-38

The document explains how to use AVERAGEIFS, SUMIFS, and COUNTIFS functions in Excel to summarize data based on specific criteria. It also details the use of the IFERROR function to handle errors in formulas, particularly with VLOOKUP, and provides the syntax for the IF function and COUNT function. These functions allow users to perform calculations and manage data effectively in Excel.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Summarize data that meets specific conditions

The AVERAGEIFS and SUMIFS functions start with a data range that contains values
that the formula summarizes. You then list the data ranges and the criteria to apply to
that range. In generic terms, the syntax is =AVERAGEIFS(data_range, criteria_range1,
criteria1[,criteria_range2, criteria2...]). The part of the syntax in brackets (which aren’t
used when you create the formula) is optional, so an AVERAGEIFS or SUMIFS formula
that contains a single criterion will work. The COUNTIFS function, which doesn’t per-
form any calculations, doesn’t need a data range; you just provide the criteria ranges
3
and criteria. For example, you could find the number of customers from Washington
who were billed at least $100,000 by using the formula =COUNTIFS(C2:C5, “=WA”,
D2:D5, “>=100000”).

You can use the IFERROR function to display a custom error message instead of
relying on the default Excel error messages to explain what happened. For example,
you could create this type of formula to employ the VLOOKUP function to look up
a customer’s name in the second column of a table named Customers based on the
customer identification number entered into cell G8. That formula might look like this:
=IFERROR(VLOOKUP(G8,Customers,2,FALSE),”Customer not found”). If the function
finds a match for the customer ID in cell G8, it displays the customer’s name; if not, it
displays the text “Customer not found.”

TIP The last two arguments in the VLOOKUP function tell the formula to look in the
Customers table’s second column and to require an exact match. For more information
about the VLOOKUP function, see “Look up data from other locations” in Chapter 7, “Combine
data from multiple sources.”

To summarize data by using the IF function


■ Use the syntax =IF(logical_test, value_if_true, value_if_false) where:

logical_test is the logical test to be performed.

value_if_true is the value the formula returns if the test is true.

value_if_false is the value the formula returns if the test is false.

To count cells that contain numbers in a range


■ Use the syntax =COUNT(range), where range is the cell range in which you
want to count cells.

85

You might also like