Split combined fields into Excel columns

Auteur: AILesson6 min de préparationTesté avec:ChatGPTRévisé: 2026-08-28

Réponse rapide

Separate names, addresses, or codes using verified delimiters and exception flags. Fournir: Desired output fields, Representative source values, Excel version and allowed tools. Résultat attendu: A non-destructive split method, validation columns, and exception queue.

1

Ajouter votre contexte

Votre texte reste dans ce navigateur. AILesson Prompts ne l’envoie ni à un modèle ni à un serveur.

2

Votre prompt

Les champs non remplis restent visibles sous forme d’espaces réservés, afin que vous puissiez quand même copier et modifier le prompt.

Design a safe way to split a combined Excel field.

Desired output fields:
[target]

Representative source values:
[samples]

Excel version and allowed tools:
[tools]

Profile delimiters and structural variants before choosing a formula, Text to Columns, or Power Query. Do not split personal names by spaces or assume a fixed address length unless the data contract guarantees it. Preserve the original value. Return the recommended method, formulas or transformation steps, a ParseStatus/ReviewReason field, and tests for missing components, extra delimiters, quoted text, blanks, and multilingual values. Explain which rows cannot be parsed safely.
Essayer dans le Playground
Privé par défautL’assemblage du prompt se fait localement dans votre navigateur. Évitez de placer des informations confidentielles dans un service d’IA, sauf si votre organisation l’autorise.

De l'entrée au résultat

Un exemple détaillé

Voyez comment un contexte concret transforme cette recette en résultat utilisable.

Entrée réelle

Desired output fields
Split A RawContact into B CustomerID, C DisplayName, and D Email. The documented format is CustomerID | DisplayName | Email.
Representative source values
C-101 | Ana Pérez | ana@example.com; C-102|王小明|xiaoming@example.cn; C-103 | Acme | Europe | sales@example.com; C-104 | Noor Ali | blank; blank row.
Excel version and allowed tools
Microsoft 365 formulas are preferred for an auditable first pass. Power Query is allowed later for repeat imports.

Exemple de sortie

The documented format requires exactly two pipe delimiters. Preserve A and create E DelimiterCount: =LEN(A2)-LEN(SUBSTITUTE(A2,"|","")); F ParseStatus: =IF(TRIM(A2)="","Blank",IF(E2=2,"Parsed","Review")).

For Parsed rows:

  • B2: =IF($F2="Parsed",TRIM(TEXTBEFORE($A2,"|")),"")
  • C2: =IF($F2="Parsed",TRIM(TEXTBEFORE(TEXTAFTER($A2,"|"),"|")),"")
  • D2: =IF($F2="Parsed",TRIM(TEXTAFTER($A2,"|",2)),"")

C-101 and C-102 parse safely; Unicode names are preserved. C-103 contains three delimiters and goes to Review because it is unclear whether “Europe” belongs to the name. C-104 can parse only if the source literally retains the third empty field after the second pipe; otherwise it is Review. Blank rows remain Blank. Add field validations for CustomerID pattern and email structure, but do not change ParseStatus to Valid until both pass. For recurring imports, reproduce the same delimiter-count gate in Power Query and route error rows to a separate review query.

Pourquoi cela fonctionne

  1. 1

    Profiling variants prevents a convenient delimiter from being mistaken for a reliable schema.

  2. 2

    Preserving the source and parse status makes partial extraction recoverable.

Vérifier le résultat

  • Does every automatic split depend on a verified structural rule?

  • Are unparseable values retained intact for review?

  • Can recombining output fields reproduce the source meaning?

Utilisez-la en toute confiance

Questions fréquentes

Des réponses pratiques sur le bon moment pour utiliser cette recette, ce qu’il faut fournir et les cas où une vérification humaine reste nécessaire.

What should I prepare before using “Split combined fields into Excel columns”?

For “Split combined fields into Excel columns,” prepare Desired output fields, Representative source values, and Excel version and allowed tools. 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 “Split combined fields into Excel columns” result not ready to use?

The result is not ready if it does not yet deliver the stated outcome—A non-destructive split method, validation columns, and exception 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 “Split combined fields into Excel columns”?

The published test record for “Split combined fields into Excel columns” 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.

Plus de façons d'explorer

Où se situe cette recette

Faites avancer votre travail