Diagnose and fix an Excel formula error

작성자: AILesson5 분 소요테스트::ChatGPT검토일: 2026-08-28

빠른 답변

Find the root cause of an Excel error before replacing the formula. 제공할 내용: Error and formula, Referenced data, Intended behavior. 예상 결과: A diagnosis, minimal correction, and verification plan.

1

맥락 추가

텍스트는 이 브라우저에 유지됩니다. AILesson Prompts는 이를 모델이나 서버로 보내지 않습니다.

2

프롬프트

채워지지 않은 필드는 플레이스홀더로 표시되므로 프롬프트를 복사하고 편집할 수 있습니다

Diagnose this Excel formula problem:
[error]

Referenced data and representative values:
[context]

Intended behavior:
[intent]

Do not immediately wrap the formula in IFERROR. First list the most likely causes in evidence order and give a quick test for each. Then provide the smallest justified correction, explain exactly what changed, and show tests for a normal row, the reported failure, a blank, and a no-match case. Keep genuine data-quality problems visible instead of hiding them with a fallback value.
Playground에서 사용해 보기
기본적으로 비공개프롬프트 구성은 브라우저에서 로컬로 이루어집니다. 조직에서 허용하지 않는 한 기밀 정보를 AI 서비스에 입력하지 마세요.

입력에서 결과까지

적용 예시

구체적인 맥락이 이 레시피를 바로 사용할 수 있는 결과로 바꾸는 방법을 확인하세요

실제 입력

Error and formula
E2 shows #N/A. Formula: =XLOOKUP(A2,Inventory!A:A,Inventory!C:C)
Referenced data
A2 visually contains SKU-1042. Inventory column A contains imported SKU codes; the matching row appears as 'SKU-1042 ' with a trailing space. Inventory column C contains stock quantity numbers.
Intended behavior
Return the stock quantity for a matching SKU. Keep truly unknown SKUs visible as 'Not found'. Blank input rows should stay blank.

예시 출력

Most likely cause: The lookup value and imported key are not exactly equal because the inventory key has a trailing space. Confirm with =LEN(A2) and =LEN(Inventory!A2), or compare =A2=Inventory!A2. A second possibility is another non-printing character; test with CLEAN after TRIM.

Smallest justified correction: Clean the source key in a helper column, for example Inventory D2: =TRIM(CLEAN(A2)), fill it down, then use: =IF(A2="","",XLOOKUP(TRIM(CLEAN(A2)),Inventory!D:D,Inventory!C:C,"Not found"))

This preserves a visible no-match result, keeps blank request rows blank, and avoids recalculating transformations across a full imported column inside every lookup.

Tests: SKU-1042 with a cleaned source key returns its stated quantity; the original trailing-space row now matches; blank A2 returns blank; SKU-9999 returns “Not found.” Inspect duplicate cleaned keys before filling down because cleaning can collapse two different raw values into the same key.

효과가 있는 이유

  1. 1

    Cause-first diagnosis avoids hiding broken references or dirty data behind IFERROR.

  2. 2

    A minimal correction is easier to review than an unrelated replacement formula.

결과 확인

  • Was the reported cause reproduced with the supplied values?

  • Does the correction preserve visible signals for unexpected data?

안심하고 사용하세요

자주 묻는 질문

이 레시피를 언제 사용해야 하는지, 무엇을 제공해야 하는지, 그리고 어떤 부분에서 사람의 검토가 여전히 중요한지에 대한 실용적인 답변

What should I prepare before using “Diagnose and fix an Excel formula error”?

For “Diagnose and fix an Excel formula error,” prepare Error and formula, Referenced data, and Intended behavior. Replace placeholders only with information you can verify. If a detail is unknown, preserve that uncertainty explicitly instead of asking the model to infer it.

When is the “Diagnose and fix an Excel formula error” result not ready to use?

The result is not ready if it does not yet deliver the stated outcome—A diagnosis, minimal correction, and verification plan—from the supplied evidence, or if it relies on unresolved assumptions, missing approvals, or invented details. Use the checks as release gates: revise the source inputs or assign a named, authorized reviewer instead of polishing an unsupported output.

Which AI tools have recorded tests for “Diagnose and fix an Excel formula error”?

The published test record for “Diagnose and fix an Excel formula error” lists ChatGPT as of 2026-08-28. This confirms recorded runs, not guaranteed compatibility or identical results in later product versions. For another tool or version, keep every constraint visible and repeat the result checks before use.

더 많은 탐색 방법

이 레시피가 적합한 상황

작업을 계속 진행하세요