ExcelFormulas logoExcelFormulas.
AI에게 질문
논리QA 검증 완료

IFERROR.

수식에서 오류가 발생하면 지정한 값을 반환하고, 오류가 없으면 수식 결과를 반환합니다.

논리
ExcelExcel 365Excel 2021Excel 2019Google Sheets

작동 원리 및 매커니즘.

IFERROR 함수는 실무 엑셀에서 가장 널리 활용되는 필수 함수입니다. 수식에서 오류가 발생하면 지정한 값을 반환하고, 오류가 없으면 수식 결과를 반환합니다. 대용량 데이터 조회와 자동화된 연산을 지원하여 업무 효율을 극대화합니다.

💡 한눈에 보는 쉬운 설명.

Runs a formula, but if the formula fails (like a division by zero error), it gives a clean default value instead of Excel's ugly errors.

일상적인 비유

"Think of this like a protective shield. If your math equation tries to divide by zero and would explode with a weird error, the shield turns it into a friendly 0."

구문.

표준 엑셀 표기법
=IFERROR(값, 오류일때값)
팁: 대괄호 [like_this]로 감싸진 인수는 생략 가능(선택사항)하며, 그 외 모든 인수는 필수입니다.

인수 목록.

이 함수에서 사용하는 모든 매개변수(인수)의 세부 명세입니다.

value필수

The formula, expression, or cell reference to check for an error.

입력 예시: B2/C2
value_if_error필수

The value to return if the formula evaluates to an error.

입력 예시: 0

단계별 예제 시나리오.

실무 적용 시나리오

Calculate Division Average

Calculate average sale value (Sales / Orders). Handle cases where orders are 0 to prevent #DIV/0! errors.

CategoryTotal RevenueTotal OrdersAverage Order ValueError Shield
Electronics45000150—On
Apparel1200040——
Home Decor00——
적용된 수식
=IFERROR(B2/C2, 0)
기대 결과값::Calculated output

Evaluates IFERROR over the sample table cells, placing the verified output in cell D2:D6.

맞춤형 수식 생성기.

전체 마법사 열기

아래 인수 입력란을 채우면 시트에 바로 복사해 넣을 수 있는 완성된 수식이 만들어집니다.

Generated Formula복사 준비 완료

반환 결과의 특성.

Returns "Calculated output" based on sample evaluation criteria and active cell references.

출력 예시::Calculated output
데이터 형식::Text

실무 권장 모범 사례

  • Use an empty string "" as the value_if_error to make error rows look completely clean and blank.
  • Wrap lookups (like VLOOKUP) in IFERROR to handle items that are not in your reference tables.

흔히 하는 실수 및 주의사항

  • IFERROR catches *all* errors, including spelling mistakes in your formula names. Be careful as it can hide bugs you actually want to fix.
버전 호환성 매트릭스

프로그램 및 버전별 호환성.

마이크로소프트 및 구글 스프레드시트 공식 연산 엔진 규격에 기반한 검증 결과입니다.

Excel✓
지원함
Excel 365✓
지원함
Excel 2021✓
지원함
Excel 2019✓
지원함
Google Sheets✓
지원함
Excel 버전별 지원 내역

Core standard function supported across all modern and legacy Microsoft Excel versions (365, 2021, 2019, 2016, 2013, 2010), as well as Excel for the Web and Mac.

Google 스프레드시트 호환성 참고사항

100% compatible with Google Sheets. Uses identical argument order, data types, and standard calculation logic.

자주 묻는 질문.

기술 Q&A
Can I use IFERROR across different worksheets in Excel?↓

Yes. You can reference cells located on other sheets by including the sheet name followed by an exclamation mark, for example: =IFERROR(Sheet2!A2:A10). If the sheet name contains spaces, enclose it in single quotes: ='Q1 Report'!A2:A10.

What is the most common reason for errors in IFERROR?↓

IFERROR catches *all* errors, including spelling mistakes in your formula names. Be careful as it can hide bugs you actually want to fix.

Does IFERROR work identically in Google Sheets?↓

Yes, IFERROR is supported in both Microsoft Excel and Google Sheets with standard evaluation behavior.