Normalize text formatting in Excel

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

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

Standardize presentation differences without changing identifiers or meaningful text. Укажите: Fields and meanings, Representative values, Approved display standard. Ожидаемый результат: Field-specific normalization formulas, exception flags, and before-after tests.

1

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

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

2

Ваш промпт

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

Design field-specific Excel rules to normalize text formatting.

Fields and meanings:
[fields]

Representative values:
[samples]

Approved display standard:
[standard]

Separate harmless presentation cleanup from transformations that could change identity or meaning. Do not apply PROPER, remove punctuation, or convert text to numbers across every field. Preserve raw values and return one rule or formula per field, an exception condition, and before/after examples. Test nonbreaking spaces, repeated internal spaces, apostrophes, hyphens, acronyms, multilingual text, blanks, and identifiers with leading zeros.
Попробовать в Playground
Конфиденциально по умолчаниюПромпт собирается локально в вашем браузере. Не вводите конфиденциальную информацию в сервисы ИИ, если ваша организация этого не разрешает.

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

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

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

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

Fields and meanings
A CustomerCode is a text identifier where leading zeros matter; B Email is case-insensitive for our matching; C ContactName is human-entered multilingual text; D Status is a controlled label.
Representative values
A: 001-AB, ' 001-AB '; B: ANA@EXAMPLE.COM, ana@example.com plus nonbreaking spaces; C: o'connor, ANA PÉREZ, 王 小明; D: in progress, In Progress, IN-PROGRESS.
Approved display standard
CustomerCode: trim outer whitespace only. Email: trim and lowercase. ContactName: remove outer and repeated spaces but do not force case. Status: canonical value 'In progress' after an approved mapping.

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

Keep the four raw columns and create clean companions. Replace nonbreaking spaces with ordinary spaces before trimming.

  • CustomerCode: =TRIM(SUBSTITUTE(A2,CHAR(160)," ")). Do not VALUE-convert or remove the hyphen; 001-AB must remain text. Flag any internal spaces.
  • Email: =LOWER(TRIM(SUBSTITUTE(B2,CHAR(160)," "))). Flag values that contain internal spaces or lack a usable @ structure; do not invent a corrected address.
  • ContactName: Microsoft 365: =TEXTJOIN(" ",TRUE,TEXTSPLIT(TRIM(SUBSTITUTE(C2,CHAR(160)," "))," ",,TRUE)). This collapses repeated spaces but deliberately preserves o'connor, ANA PÉREZ, and Chinese characters as entered. Do not use PROPER without human approval.
  • Status: normalize a comparison key with lowercase, trimmed spaces, and an approved hyphen-to-space rule, then XLOOKUP that key in a two-column mapping table. Unmapped values return Review.

Tests confirm that the customer code keeps both zeros, the two email variants normalize equally, names retain punctuation and case, and the three approved status variants map to In progress. Store RuleApplied and ReviewReason next to every clean value.

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

  1. 1

    Field-specific rules prevent a visual cleanup from corrupting IDs, acronyms, or names.

  2. 2

    Raw and clean columns reveal every transformation instead of overwriting evidence.

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

  • Has each field been classified as free text, controlled label, or identifier?

  • Are leading zeros and meaningful punctuation preserved?

  • Can changed values be compared directly with their raw source?

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

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

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

What should I prepare before using “Normalize text formatting in Excel”?

For “Normalize text formatting in Excel,” prepare Fields and meanings, Representative values, and Approved display standard. 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 “Normalize text formatting in Excel” result not ready to use?

The result is not ready if it does not yet deliver the stated outcome—Field-specific normalization formulas, exception flags, and before-after tests—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 “Normalize text formatting in Excel”?

The published test record for “Normalize text formatting 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.

Другие способы изучения

Где этот рецепт применим

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

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

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

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

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