본문으로 건너뛰기
이 레슨을 한국어로 번역하는 중입니다. 지금은 English 버전을 보고 계십니다.번역을 도와주세요

0%

Formulas With Explanations: XLOOKUP, SUMIFS, Nested IF

입문~15 분0/3 단계

Formulas with explanations: XLOOKUP, SUMIFS and nested IF

Goal: get three everyday formulas from Claude, understand every argument, and prove each one works on real rows before you trust it.

Plan check: everything in this lesson works on Claude's free plan (chat, attaching a file, and Claude running a short analysis on a demo file) plus free Google Sheets or any recent Excel. The free plan has lower usage limits. The Claude for Excel add-in (works inside Excel) needs a paid Claude plan (Pro and up, about $20/month) — it is optional here.

Files: invoices-h1-2026.csv and clients.csv. Open both in one workbook as two sheets named invoices and clients. All names and numbers in the demo files are fictional.

XLOOKUP exists in Microsoft 365, Excel 2021 and later, and Google Sheets. On Excel 2016/2019 ask Claude for the INDEX/MATCH version instead.

Step 1 — XLOOKUP: bring the client name into each invoice (4 min)

I have two sheets.
Sheet "invoices": columns A–H = invoice_no, invoice_date, client_id, description, amount_net, vat_18, amount_gross, status. Data starts in row 2.
Sheet "clients": columns A–D = client_id, client_name, city, payment_terms_days.
Write an XLOOKUP for invoices!I2 that returns client_name for the client_id in C2, and shows "not found" if the id is missing.
Explain each argument in one line. Then give me the INDEX/MATCH version for older Excel.

Paste the formula in I2, fill down. Check: pick two invoices and look the client up by eye in clients.

Step 2 — SUMIFS: total paid per client (4 min)

On a new sheet I have client_id values in A2:A9.
Write a SUMIFS for B2 that sums invoices!E:E (amount_net) where invoices!C:C equals A2 AND invoices!H:H equals "paid".
Explain each pair of arguments. Then tell me one quick way to check the result.

Check: the sum of column B must equal the total of all paid invoices. In the demo file that is 86,250 net. All invoices together are 113,250, of which 27,000 are still open. If your numbers differ, find out why before moving on.

Step 3 — Nested IF: label overdue invoices (4 min)

In invoices!J2 I want a status label:
- if status is "paid" → "paid"
- if status is "open" and more than payment_terms_days have passed since invoice_date (use a fixed report date of 2026-06-30 in cell L1) → "overdue"
- otherwise → "open"
payment_terms_days comes from the clients sheet by client_id.
Write it with nested IF, then with IFS, and explain the order of the conditions.

Check: test it on one paid invoice, one open invoice from late June (should be "open") and change L1 to a later date to watch it flip to "overdue".

Inherited a formula you don't understand?

Explain this formula step by step, as if to a new colleague. Say what happens if a value is missing:
=PASTE_THE_FORMULA_HERE

Verification checklist

  • Two XLOOKUP rows checked by eye
  • SUMIFS column totals 86,250 (paid) and ties to the invoices sheet
  • The overdue label flips when you change the report date
  • You can say in one sentence what every argument does

Exercise (the editor below)

Build a formula card with three <article class="formula"> blocks, each with the formula in <code> and a one-line explanation in <p>. This is the cheat sheet you will reuse.

No coding needed. Read the lesson above, do the steps in Excel or Sheets, then build the small page below. You can use the step prompts in Claude.

안내

1

Add your XLOOKUP and explain it in one line.

Use this prompt in Claude or Cursor

Share the current HTML with your AI tool and use this prompt. Paste the updated HTML into the editor, then check the live preview.

Add an <article class="formula"> with <code>=XLOOKUP(C2, clients!A:A, clients!B:B, "not found")</code> and a <p> explaining it in one sentence. Keep everything else.

어디에 작성하나요?

<!-- Step 1: Add <article class="formula"> with an XLOOKUP formula in <code> and a <p> explanation -->

14번째 줄에 작성하세요 — 그 주석 바로 아래의 빈 줄입니다.

2

Add your SUMIFS and explain it.

3

Add the overdue label formula and explain the order of conditions.

내 코드

html
21 줄
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

실시간 미리보기

실시간 미리보기

이 코스의 마지막 무료 강의예요

3–6번째 강의는 Builder에서 이어져요. 먼저 이 강의를 마친 다음 계속하세요.

  • 이 코스의 3–6번째 강의
  • Claude Code와 Cursor 실전 워크플로
  • Build Blueprint: 어떤 아이디어든 AI 에이전트에 바로 넘길 수 있는 명확한 사양서
  • 다른 전체 코스의 모든 강의

월 $19

신규 구독은 14일 이내에 전액 환불돼요. 언제든지 취소할 수 있어요.

결제 페이지는 결제 대행사 Lemon Squeezy가 운영합니다. 읽을 수 없는 언어로 열리면 페이지 하단의 약관 및 개인정보 항목 옆에 있는 언어 메뉴에서 변경하세요. 결제 페이지와 영수증에는 Vibe Coding Academy를 운영하는 회사인 veriduxlabs(Veridux Labs)가 상점 이름으로 표시됩니다.

가격 보기

Builder에는 타사 AI 도구 구독이 포함되지 않아요. 구독이 필요한 강의는 미리 알려 드려요.