Audit Excel headers, field definitions, and data types

Автор: AILesson7 мин на настройкуПроверено на:ChatGPTПроверено: 2026-08-28

Быстрый ответ

Compare a workbook with its intended schema before import, analysis, or automation. Укажите: Workbook purpose and consumer, Expected schema, Observed headers and sample values. Ожидаемый результат: A schema dictionary, conformance report, and row-level validation plan.

1

Добавьте контекст

ваш текст остаётся в этом браузере. AILesson Prompts не отправляет его ни в модель, ни на сервер.

2

Ваш промпт

Незаполненные поля остаются видимыми как заполнители, поэтому вы всё равно можете скопировать и отредактировать промпт

Audit an Excel workbook against its intended schema.

Purpose and downstream consumer:
[purpose]

Expected schema:
[expected]

Observed headers and representative values:
[observed]

Check header names, order only when order matters, missing and unexpected fields, data types, date and number storage, requiredness, uniqueness, allowed values, and cross-field rules. Distinguish cell formatting from underlying value type. Return a data dictionary, schema-difference table with severity, row-level validation formulas, blocking issues, and an acceptance checklist. Do not declare conformance from display appearance alone.
Попробовать в Playground
Конфиденциально по умолчаниюПромпт собирается локально в вашем браузере. Не вводите конфиденциальную информацию в сервисы ИИ, если ваша организация этого не разрешает.

От исходных данных к результату

Разобранный пример

Посмотрите, как конкретный контекст превращает этот рецепт в полезный результат

Реальный ввод

Workbook purpose and consumer
Upload weekly orders to an operations system. Column order is irrelevant, but exact header names and field types are required.
Expected schema
OrderID required unique text; OrderDate required Excel date; CustomerID required text; Amount required number >=0; Currency required one of USD, EUR, GBP; Cancelled optional TRUE/FALSE. No extra fields containing notes may be uploaded.
Observed headers and sample values
Headers: Order ID, OrderDate, CustomerID, Amount, Currency, Cancelled, InternalNotes. Samples include Order ID 00125; OrderDate displayed 08/27/2026 but imported as text in some rows; Amount '$1,240.00' stored as text; Currency usd; Cancelled Yes.

Пример вывода

Schema differences

IssueSeverityEvidenceRequired action
Order ID header differs from OrderIDBlockingobserved spacerename exactly
InternalNotes is unexpectedBlocking/privacyextra sensitive-capable fieldexclude from upload
OrderDate mixed typeBlockingsome values are textconvert and validate, do not only reformat
Amount stored as currency textBlocking$ and comma in textparse under confirmed locale, retain raw
Currency uses lowercaseFixableusdmap approved case to USD
Cancelled uses YesBlocking until mappedcontract requires Booleanapprove Yes/No mapping or reject

Create a data dictionary with field, definition, stored type, required, allowed values, example, and validation. Row checks can include =AND(ISTEXT([@OrderID]),[@OrderID]<>""), =ISNUMBER([@OrderDate]), =AND(ISNUMBER([@Amount]),[@Amount]>=0), =ISNUMBER(XMATCH([@Currency],{"USD","EUR","GBP"})), and =OR([@Cancelled]=TRUE,[@Cancelled]=FALSE,[@Cancelled]=""). Check uniqueness with COUNTIF. Accept only when exact required headers exist, InternalNotes is excluded, every row passes type and domain checks, OrderID count equals unique OrderID count, and rejected rows are listed separately. Preserve 00125 as text.

Почему это работает

  1. 1

    A schema contract catches structural failures before they become misleading analysis results.

  2. 2

    Testing underlying value types reveals dates and numbers that only look correctly formatted.

Проверьте результат

  • Are required fields, keys, and allowed values explicitly documented?

  • Do validation checks inspect stored types rather than display formats?

  • Are blocking import failures separated from nonblocking presentation differences?

Используйте уверенно

Часто задаваемые вопросы

Практические ответы о том, когда использовать этот рецепт, что нужно предоставить и где по-прежнему важна проверка человеком

What should I prepare before using “Audit Excel headers, field definitions, and data types”?

For “Audit Excel headers, field definitions, and data types,” prepare Workbook purpose and consumer, Expected schema, and Observed headers and sample values. 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 “Audit Excel headers, field definitions, and data types” result not ready to use?

The result is not ready if it does not yet deliver the stated outcome—A schema dictionary, conformance report, and row-level validation 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 “Audit Excel headers, field definitions, and data types”?

The published test record for “Audit Excel headers, field definitions, and data types” 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.

Продолжайте работу

AILesson · Рекомендуемые курсы

ваш следующий шаг: примените ИИ на практике

Перейдите от понимания ИИ к выполнению задач. Практикуйтесь в составлении запросов, проверке и улучшении результатов с помощью интерактивных уроков для работы и повседневной жизни.

Просмотреть все курсы