본문 바로가기
IT Develop/엑셀(EXCEL)

[Excel 함수] SUMIF에 대하여 알아봅시다. (Mastering Excel's SUMIF Function)

by K-popcorn 2023. 9. 12.
반응형

Microsoft Excel은 데이터 분석 및 관리를 위한 강력한 도구이며 가장 다용도적인 기능 중 하나가 SUMIF입니다. 숙련된 Excel 사용자든 이제 막 SUMIF를 사용하는 방법을 이해하면 스프레드시트 기술이 크게 향상됩니다. 이 블로그 게시물에서는 SUMIF 기능의 목적, 구문 및 이 필수 엑셀 도구를 숙달하는 데 도움이 되는 실제 사례를 자세히 살펴보겠습니다.

SUMIF란 무엇입니까?

SUMIF는 특정 기준에 따라 값을 합산할 수 있는 널리 사용되는 엑셀 함수입니다. 그 주된 목적은 주어진 조건을 만족시키는 데이터의 부분집합에 대한 계산을 수행하는 것을 도와주는 것입니다. 이 함수는 큰 데이터 집합을 가지고 있고 특정 정보를 추출하거나 요약 통계를 생성하고자 할 때 특히 유용합니다.

SUMIF 구문

SUMIF 함수에는 간단한 구문이 있습니다:

=SUMIF(range, criteria, [sum_range])

range: 기준을 적용할 셀의 범위입니다. 평가할 데이터를 나타냅니다.

criteria: 범위에 적용할 조건 또는 기준입니다. 숫자, 텍스트, 논리식, 셀 참조 등으로 표현할 수 있습니다.

sum_range (옵션): 값을 합산할 범위를 지정하는 인수입니다. 생략할 경우 Excel은 범위 자체의 값을 합산합니다.

SUMIF의 예

기본 SUMIF
열 A에 월별 매출액 목록이 있고 "1"과 같은 특정 달의 총 매출액을 찾고자 한다고 가정합니다

=SUMIF(A1:A12, "1")

이 공식은 해당 셀이 기준 "1"과 일치하는 열 A의 모든 값을 합합니다

SUMIF
SUMIF


셀 참조 사용
수식에 기준을 직접 지정하는 대신 셀 참조를 사용할 수 있습니다. 예를 들어, C1 셀에 "1월"이라는 달이 있을 수 있으며 공식은 다음과 같습니다:

=SUMIF(A1:A12, C1)

이제 셀 C1의 내용을 다른 달로 변경하면 수식이 자동으로 계산을 업데이트합니다.

논리 연산자 사용
논리 연산자를 사용하여 보다 복잡한 기준을 만들 수도 있습니다. 예를 들어, 5000보다 큰 모든 판매 값을 합하려면 다음과 같이 하십시오:

=SUMIF(A1:A12, ">5000")

이 공식은 열 A에 있는 5000보다 큰 모든 값을 합합니다.

SUMIF
SUMIF


별도의 합계 범위가 있는 SUMIF
B열에 제품 목록이 있고 A열에 해당하는 판매량이 있다고 가정합니다. 특정 제품에 대한 총 판매량(예: "제품 A")을 구하려고 합니다

=SUMIF(D1:D12,"Mon",E1:E9)

이 공식은 D열의 제품명이 "Mon"과 일치하는 E열의 판매값을 합산합니다

SUMIF
SUMIF


Excel의 SUMIF 기능은 조건부 합산을 수행하고 데이터에서 귀중한 통찰력을 추출할 수 있는 다용도 도구입니다.

 

(Eng)

introduction

Microsoft Excel is a powerful tool for data analysis and management, and one of its most versatile functions is SUMIF. Whether you're a seasoned Excel user or just getting started, understanding how to use SUMIF effectively can significantly enhance your spreadsheet skills. In this blog post, we'll dive deep into the SUMIF function, exploring its purpose, syntax, and practical examples to help you master this essential Excel tool.

What is SUMIF?

SUMIF is a widely used Excel function that allows you to sum values based on specific criteria. Its primary purpose is to help you perform calculations on a subset of data that meets a given condition. This function is especially handy when you have a large dataset, and you want to extract specific information or generate summary statistics.

Syntax of SUMIF

=SUMIF(range, criteria, [sum_range])

The SUMIF function has a straightforward syntax:

range: This is the range of cells that you want to apply the criteria to. It represents the data you want to evaluate.

criteria: This is the condition or criteria that you want to apply to the range. It can be expressed as a number, text, logical expression, or cell reference.

sum_range (optional): This argument specifies the range from which you want to sum values. If omitted, Excel will sum the values in the range itself.

Examples of SUMIF in Action

Basic SUMIF
Let's say you have a list of monthly sales figures in column A and you want to find the total sales for a specific month, such as "January."

=SUMIF(A1:A12, "January")

This formula sums all the values in column A where the corresponding cell matches the criteria "January."

Using Cell References
Instead of specifying the criteria directly in the formula, you can use a cell reference. For instance, you could have the month "January" in cell C1, and your formula would look like this:

=SUMIF(A1:A12, C1)

Now, if you change the content of cell C1 to a different month, the formula will automatically update the calculation.

Using Logical Operators
You can also use logical operators to create more complex criteria. For instance, if you want to sum all sales values greater than 5000:

=SUMIF(A1:A12, ">5000")

This formula sums all the values in column A that are greater than 5000.

SUMIF with a Separate Sum Range

Suppose you have a list of products in column B and their corresponding sales figures in column A. You want to find the total sales for a specific product, like "Product A."

=SUMIF(B1:B12, "Product A", A1:A12)

This formula sums the sales values in column A where the product name in column B matches "Product A."

Conclusion

The SUMIF function in Excel is a versatile tool that enables you to perform conditional summations and extract valuable insights from your data. 

 

반응형

댓글