Stop Asking AI to Build Excel Sheets — Try This Instead

The first thing most people do when they type ‘can ai create excel sheets’ into ChatGPT or Copilot is paste raw data and ask it to ‘make an Excel file.’ That’s usually the wrong move — here's why.

AI doesn’t understand Excel as a living system. It sees text, not cell dependencies. It doesn’t know if your SUMIFS in D12 refers to a dynamic named range or a hardcoded $B$2:$B$500 that breaks when you insert a row. It won’t catch that your date column in column C is stored as text (even though it looks like ‘2024-03-15’) — and that’ll kill every pivot table downstream. Trust me, I learned this the hard way after rebuilding three ‘AI-generated’ sales dashboards in one week.

The Setup

You’re handed a messy CSV export from a CRM — no headers, inconsistent spacing, mixed date formats, and duplicate entries. Your job: turn it into a clean, usable Excel workbook with a summary tab, formatted tables, and live calculations. No templates. No IT support. Just you, Excel, and whatever AI help you decide to use — wisely.

Here’s what the raw import looks like in Sheet1, starting at A1:

Raw Data (A1:E10)Account NameContact EmailDeal Size ($)Close Date
1Acme Corpj.smith@acmecorp.com725002024/03/15
2Nexus Labsadmin@nexuslabs.io11280015-Mar-24
3Stellar Dynamicscontact@stellardyn.co452002024-04-02
4Orion Grouphello@orion.group8930004/12/2024
5Veridian Solutionssales@veridiansol.com671002024.05.21
6Apex Innovationsinfo@apexinnovate.net13490021-May-24
7Lumina Systemssupport@luminasys.ai527002024/06/08
8TerraFusion Incteam@terrafusion.dev9840008-Jun-24
9Crestline Partnershello@crestline.partners762002024-07-14
10Zenith Holdingsoffice@zenithholdings.co10250014/07/2024

The Challenge

We need to transform this into a functional, maintainable workbook — not just pretty rows. That means: cleaning inconsistent dates into real Excel date values (so filtering and sorting work), converting text numbers to actual numbers (so SUM() works), removing accidental duplicates (not just identical rows — but same company + same email + same deal size), and building a Summary tab that updates automatically when new rows are added.

Here’s what makes it tricky: AI tools will happily output a list of formulas like =DATEVALUE(C2). But that fails on row 2 (‘15-Mar-24’) and row 5 (‘2024.05.21’) unless you wrap it in error handling. And if you copy-paste that formula down without checking each result? You’ll get 10 #VALUE! errors — and miss them because Excel hides them behind green triangle warnings. Worse: AI won’t remind you to convert the entire column to Number format *before* applying math functions. That tiny step prevents half your calculations from working.

Walking Through It

We’ll use AI smartly — not as a builder, but as a co-pilot for specific tasks. First, we ask it: “Give me one Excel formula that converts all these date formats in column E to real dates: ‘2024/03/15’, ‘15-Mar-24’, ‘2024-04-02’, ‘04/12/2024’, ‘2024.05.21’, ‘21-May-24’, ‘2024/06/08’, ‘08-Jun-24’, ‘2024-07-14’, ‘14/07/2024’. Return only the formula — no explanation.”

It returns: =IFERROR(DATEVALUE(E2),IFERROR(DATEVALUE(SUBSTITUTE(SUBSTITUTE(E2,".","/"),"-","/")),DATEVALUE(SUBSTITUTE(E2,"-","/"))))

We paste that into F2, then press Ctrl+Enter (not Enter) to fill down without changing the active cell — critical for speed and accuracy. Then we copy F2:F11, right-click column E → Paste Special → Values, and delete column F.

Next, we select E2:E11, press Alt+H+F+V (Home → Format → Format Cells → Number tab → Date), choose ‘Short Date’, and click OK.

Before:

E2:E11 (Before)
2024/03/15
15-Mar-24
2024-04-02
04/12/2024

After (real Excel dates, visible as serial numbers if you change format to General):

E2:E11 (After)
15-Mar-24
15-Mar-24
2-Apr-24
12-Apr-24

Same process for column D (Deal Size): we ask AI for “Excel formula to convert text numbers with no commas or decimals into real numbers”. It gives =VALUE(D2). We apply it, paste values back, then format column D as Currency.

The Result

Here’s the final cleaned dataset in Sheet1 (A1:E10), ready for analysis:

RowAccount NameContact EmailDeal Size ($)Close Date
1Acme Corpj.smith@acmecorp.com$72,50015-Mar-24
2Nexus Labsadmin@nexuslabs.io$112,80015-Mar-24
3Stellar Dynamicscontact@stellardyn.co$45,2002-Apr-24
4Orion Grouphello@orion.group$89,30012-Apr-24
5Veridian Solutionssales@veridiansol.com$67,10021-May-24
6Apex Innovationsinfo@apexinnovate.net$134,90021-May-24
7Lumina Systemssupport@luminasys.ai$52,7008-Jun-24
8TerraFusion Incteam@terrafusion.dev$98,4008-Jun-24
9Crestline Partnershello@crestline.partners$76,20014-Jul-24
10Zenith Holdingsoffice@zenithholdings.co$102,50014-Jul-24

Now we insert a Table (Ctrl+T), name it tblDeals, and build our Summary tab with formulas like =SUM(tblDeals[Deal Size ($)]) and =COUNTIFS(tblDeals[Close Date],">="&TODAY()).

What Could Go Wrong

Three real mistakes people make — each with concrete symptoms you’ll see on screen:

  • Mistake 1: Pasting AI’s ‘formula list’ directly into cells without testing on one row first. You’ll get #N/A or #VALUE! in every cell — but Excel won’t flag it loudly. The green triangle appears only if error-checking is enabled (File → Options → Formulas → Enable background error checking). Most users don’t know that setting exists.
  • Mistake 2: Using AI to generate VLOOKUP formulas without specifying exact match (FALSE) — and forgetting to lock the table array with $ signs. When you drag the formula down, B2:C10 becomes B3:C11, shifting your lookup range. Result: wrong matches or #REF! errors.
  • Mistake 3: Accepting AI’s ‘cleaned’ CSV output as-is and saving it as .xlsx. Excel treats that as plain text. All dates remain text. All numbers remain text. No formulas survive. You’ve just made a prettier version of the problem.

Here’s what to do instead — a quick reference you can print or pin:

TaskDo ThisShortcut
Convert text datesUse DATEVALUE + SUBSTITUTE combos, then Paste Special → ValuesAlt+H+F+V
Turn raw data into tableSelect data → Ctrl+T → Check ‘My table has headers’ → Name itCtrl+T
Check for hidden text numbersSelect column → Home → Number group → click small arrow → ‘Number’ → look for decimal places appearingAlt+H+NU0
Verify date integrityTemporarily format column as General — real dates show as 45,000+ numbers; text stays as ‘15-Mar-24’Ctrl+1 → General
Lisa Anderson

Lisa Anderson

Lisa is a certified Microsoft trainer who writes step-by-step guides for Power Automate