ElyxAI
data

Column From Examples

Column From Examples leverages machine learning to identify patterns in your data transformations. Available in Excel 365 and modern versions, this feature analyzes 1-2 examples you provide and applies the detected logic to remaining cells. It's particularly useful for text parsing, date formatting, combining columns, and data cleaning tasks. Unlike traditional formulas, you don't need to understand complex syntax—simply show Excel what you want, and it learns your intent. This bridges the gap between spreadsheet users and advanced formula builders, making data transformation accessible to all skill levels.

Definition

Column From Examples is an Excel feature that automatically generates formulas or fills data in a column by detecting patterns from user-provided examples. It uses AI-powered pattern recognition to infer the transformation rule, saving time on repetitive data manipulation tasks without manual formula writing.

Key Points

  • 1Uses AI pattern recognition to automatically fill columns based on user examples without manual formula creation.
  • 2Works with text transformations, data extraction, combining columns, and formatting tasks across different data types.
  • 3Available in Excel 365 and newer versions; requires 1-2 examples to establish the pattern.

Practical Examples

  • Extracting first names from a full name column: provide 'John' from 'John Smith' and 'Jane' from 'Jane Doe', and Excel fills the rest.
  • Formatting phone numbers: show Excel how to convert '1234567890' to '(123) 456-7890' with one example, and it applies the pattern to all rows.

Detailed Examples

Contact Data Cleaning

You have a column with full email addresses and want only the domain names. Enter 'gmail.com' for '[email protected]' and 'outlook.com' for '[email protected]', and the feature extracts all remaining domains automatically. This is faster and more intuitive than writing MID or FIND formulas.

Product Code Generation

Transform raw product descriptions into standardized codes by providing 2 examples of how 'Blue T-Shirt Size M' should become 'BLUE-TSHIRT-M'. Excel recognizes the pattern and applies it to hundreds of products instantly. No complex nested functions required.

Best Practices

  • Provide clear, representative examples that illustrate the exact transformation rule—ambiguous examples may lead to incorrect pattern detection.
  • Start with 1-2 examples in consecutive cells below your column header to establish the pattern before accepting suggestions.
  • Review the first few auto-filled results before accepting the entire column to catch pattern mismatches early.

Common Mistakes

  • Providing inconsistent examples that don't clearly show the pattern—this confuses the AI and produces unexpected results; ensure all examples follow the same logical rule.
  • Forgetting to include examples for edge cases (like names with suffixes or unusual formats) that appear later in your dataset; the feature may miss these variations.
  • Not reviewing suggested results before applying to the entire column, risking widespread data errors that require reversal.

Tips

  • Use Column From Examples for repetitive text tasks where formulas would be overly complex—it's ideal for real-world messy data.
  • Combine this feature with Power Query for even more robust data transformation workflows on large datasets.
  • Test the feature on a copy of your data first to ensure pattern accuracy before applying to your working spreadsheet.

Related Excel Functions

Frequently Asked Questions

What Excel versions support Column From Examples?
Column From Examples is available in Excel 365 (Microsoft 365 subscription) and Excel 2021 or later. It may not be available in older Excel versions or Excel Online with limited features. Check your Excel version's data tools menu to confirm availability.
Can I undo or edit the pattern if it's wrong?
Yes, you can press Ctrl+Z to undo the auto-fill, modify your examples, and try again. Excel will offer new suggestions based on corrected examples. You can iterate until the pattern matches your needs.
Does Column From Examples work with numbers and dates?
Yes, it works with numbers, dates, text, and mixed data types. For example, you can transform date formats (01/15/2024 to January 15, 2024) or calculate values from numeric patterns, though complex calculations may require traditional formulas instead.

This was one task. ElyxAI handles hundreds.

Sign up