Microsoft Excel - Most Useful Functions - Sumifs - How to use

Опубликовано: 23 Октябрь 2024
на канале: Sri Kali Learning Hub
16
1

SUMIFS is a function in Microsoft Excel that allows you to sum values based on multiple criteria. This function is particularly useful when you have a dataset with multiple columns and you want to add up values that meet certain conditions.

Syntax:

SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)

sum_range: This is the range of cells containing the values you want to sum.

criteria_range1: This is the range of cells where you want to apply the first criteria.

criteria1: This is the condition or value that must be met in criteria_range1.

[criteria_range2, criteria2]: You can have additional pairs of criteria ranges and criteria values. These are optional and allow you to apply multiple conditions.

Example:

A B C
1 Product Region Sales Amount
2 A North 1000
3 B South 1500
4 A South 1200
5 B North 800

If you want to sum the sales amount for Product "A" in the North region, you would use the SUMIFS function as follows:

=SUMIFS(C2:C5, A2:A5, "A", B2:B5, "North")


Explanation:

C2:C5 is the sum range (Sales Amount).
A2:A5 is the first criteria range (Product).
"A" is the first criteria (Product "A").
B2:B5 is the second criteria range (Region).
"North" is the second criteria (Region "North").

#microsoftexcel
#microsoftexceltips