ExcelFormulas logoExcelFormulas.
AI에게 질문
조회 및 참조QA 검증 완료

XLOOKUP.

범위 또는 배열을 검색하여 두 번째 범위의 일치하는 항목을 반환합니다.

조회 및 참조
ExcelExcel 365Excel 2021Google Sheets

작동 원리 및 매커니즘.

XLOOKUP 함수는 실무 엑셀에서 가장 널리 활용되는 필수 함수입니다. 범위 또는 배열을 검색하여 두 번째 범위의 일치하는 항목을 반환합니다. 대용량 데이터 조회와 자동화된 연산을 지원하여 업무 효율을 극대화합니다.

💡 한눈에 보는 쉬운 설명.

Searches for a value in one list (lookup array) and returns matching information from another list (return array) in the exact same row.

일상적인 비유

"Think of XLOOKUP like looking up a word in a dictionary. You have a search word (Employee ID), you scan the dictionary list (ID Column), and you get the corresponding definition (Department Column)."

구문.

표준 엑셀 표기법
=XLOOKUP(조회값, 조회배열, 반환배열, [찾을수없음], [일치모드])
팁: 대괄호 [like_this]로 감싸진 인수는 생략 가능(선택사항)하며, 그 외 모든 인수는 필수입니다.

인수 목록.

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

lookup_value필수

The value you want to search for.

입력 예시: D2
lookup_array필수

The range or array to search in.

입력 예시: A2:A6
return_array필수

The range or array to return values from.

입력 예시: B2:B6
if_not_found선택

Text or value to return if no match is found.

기본값: "Not Found"
match_mode선택

0 = Exact match (default), -1 = Exact or next smaller, 1 = Exact or next larger, 2 = Wildcard match.

기본값: 0
search_mode선택

1 = Search first-to-last (default), -1 = Search last-to-first, 2 = Binary search (sorted asc), -2 = Binary search (sorted desc).

기본값: 1

단계별 예제 시나리오.

실무 적용 시나리오

Department Directory Lookup

Retrieve an employee's Department by searching their Employee ID.

Emp IDDepartmentSalarySearch IDResult Dept
101Engineering105000103—
102Marketing88000——
103Sales95000——
적용된 수식
=XLOOKUP(D2, A2:A6, B2:B6, "Not Found")
기대 결과값::Sales

Evaluates XLOOKUP over the sample table cells, placing the verified output in cell E2.

맞춤형 수식 생성기.

전체 마법사 열기

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

Generated Formula복사 준비 완료

반환 결과의 특성.

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

출력 예시::Sales
데이터 형식::Text

실무 권장 모범 사례

  • Use XLOOKUP to return multiple items simultaneously by selecting a multi-column return range.
  • Unlike VLOOKUP, XLOOKUP does not break when columns are inserted or deleted in the spreadsheet.
  • Leave match_mode blank if you want an exact match, which is what is needed 95% of the time.

흔히 하는 실수 및 주의사항

  • XLOOKUP is only available in Excel 365, Excel 2021, and Excel for the Web. It will return a #NAME? error in older versions.
  • Ensure the lookup_array and return_array are of equal length; otherwise, XLOOKUP returns a #VALUE! error.
버전 호환성 매트릭스

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

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

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

Introduced in Excel 365 and Excel 2021. Not supported in Excel 2019 or Excel 2016 (#NAME? error).

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

Fully supported in Google Sheets with identical parameters, default exact match, and search modes.

자주 묻는 질문.

기술 Q&A
Can XLOOKUP look up values to the left?↓

Yes. Unlike VLOOKUP which requires the return column to be to the right of the lookup column, XLOOKUP uses separate lookup_array and return_array ranges, allowing you to return data located in any column or row.

What is the primary difference between XLOOKUP and VLOOKUP?↓

XLOOKUP defaults to an exact match (VLOOKUP defaults to approximate match), does not break when columns are inserted into the table, handles missing values gracefully with the if_not_found parameter, and supports both vertical and horizontal searches.

Why does XLOOKUP return a #VALUE! error?↓

The #VALUE! error in XLOOKUP happens when lookup_array and return_array have incompatible dimensions (for example, a 5-row lookup range paired with an 8-row return range). Ensure both arrays cover the exact same number of rows or columns.