Standardize category labels in Excel

Autor: AILesson6 min de configuraçãoTestado com:ChatGPTRevisado em: 2026-08-28

Resposta rápida

Map known label variants to an approved vocabulary while exposing unknown values. Forneça: Approved categories, Observed variants, Mapping policy. Resultado esperado: An auditable mapping table, lookup formula, and unmapped-value review queue.

1

Adicione seu contexto

Seu texto permanece neste navegador. O AILesson Prompts não o envia para um modelo ou servidor.

2

Seu prompt

Campos não preenchidos permanecem visíveis como marcadores de posição, para que você ainda possa copiar e editar o prompt

Design an auditable Excel mapping for category labels.

Approved categories and definitions:
[vocabulary]

Observed raw values and counts:
[observed]

Mapping policy:
[policy]

Do not merge labels only because they look similar. Normalize a comparison key separately from the approved output. Return a mapping table with RawVariant, NormalizedKey, CanonicalLabel, Confidence, Reason, and ReviewerNeeded; formulas to apply it; and a report of unmapped or ambiguous values. Preserve raw values and counts so the effect of every mapping can be reconciled.
Experimente no Playground
Privado por padrãoA montagem do prompt acontece localmente no seu navegador. Evite colocar informações confidenciais em qualquer serviço de IA, a menos que sua organização permita.

Da entrada ao resultado

Um exemplo prático

Veja como um contexto concreto transforma esta receita em um resultado útil

Entrada real

Approved categories
New = not yet contacted; In progress = contact or work underway; Won = completed successfully; Lost = closed unsuccessfully.
Observed variants
new 42; New 18; NEW-LEAD 6; contacted 15; in progress 31; working 4; closed 12; won 20; lost 9; blank 3.
Mapping policy
Case, outer spaces, and hyphen versus space may be normalized. 'Contacted' and 'working' can map to In progress after review. 'Closed' is ambiguous between Won and Lost. Blank must remain Missing, not New.

Exemplo de saída

Build a Mapping table rather than using nested SUBSTITUTE. A comparison key can be =LOWER(TRIM(SUBSTITUTE(A2,"-"," "))), but the mapping table remains authoritative.

RawVariantNormalizedKeyCanonicalLabelConfidenceReasonReviewerNeeded
new / NewnewNewHighcase-only variationNo
NEW-LEADnew leadNewMediumapproved synonym must be confirmedYes
contacted / workingcontacted / workingIn progressMediumpolicy-approved workflow synonymsYes
closedclosedNoneoutcome is unknownYes
blankMissingHighabsence is not NewNo

Apply with =IF(A2="","Missing",XLOOKUP(LOWER(TRIM(SUBSTITUTE(A2,"-"," "))),Mapping[NormalizedKey],Mapping[CanonicalLabel],"Review")). Do not add closed until its 12 rows are resolved from other evidence. Summarize counts by raw and canonical value; the mapped total plus Review must equal 160. Store mapping version and approval date so future imports can be reproduced.

Por que isso funciona

  1. 1

    A mapping table turns silent replacements into explicit, reviewable decisions.

  2. 2

    Unmapped-value reporting prevents new labels from disappearing into a fallback category.

Verifique o resultado

  • Does every canonical label have a written business definition?

  • Are ambiguous variants assigned to review instead of the nearest-looking label?

  • Do raw and mapped counts reconcile exactly?

Use com confiança

Perguntas frequentes

Respostas práticas sobre quando usar esta receita, o que fornecer e onde a revisão humana ainda é importante

What should I prepare before using “Standardize category labels in Excel”?

For “Standardize category labels in Excel,” prepare Approved categories, Observed variants, and Mapping policy. 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 “Standardize category labels in Excel” result not ready to use?

The result is not ready if it does not yet deliver the stated outcome—An auditable mapping table, lookup formula, and unmapped-value review queue—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 “Standardize category labels in Excel”?

The published test record for “Standardize category labels in Excel” 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.

Mais maneiras de explorar

Onde esta receita se encaixa

Mantenha o trabalho em andamento