Excel AI App
Open App
ExcelHow-toAI· 6 min read · Updated August 16, 2026

How to Create a Pivot Table Automatically (With and Without AI)

Quick answer

To create a pivot table automatically in Excel, select your data and use Insert → PivotTable (or Recommended PivotTables) and Excel suggests a layout. To skip the setup entirely, an AI tool like Excel AI App reads your columns and builds grouped summaries automatically — you just pick the metric.

By Ashok Kumar P · Founder, DigiMoor

Pivot tables are the fastest way to answer “what’s the total by category?” — and you don’t have to build them from scratch. Here’s the quick manual route, then the fully automatic one.

Bottom line: in Excel, Insert → PivotTable (or Recommended PivotTables) auto-suggests a layout. To skip the setup entirely, an AI tool reads your columns and builds the grouped summary for you.

The fast manual route

  • Click any cell inside your data.
  • Go to Insert → Recommended PivotTables and pick a suggested layout, or Insert → PivotTable to build your own.
  • Drag a category to Rows and a number to Values. Excel defaults to SUM — change it to Average or Count from the field’s dropdown.

Tip: press Ctrl+T to format your source as a Table first. Then rows you add later are included automatically the next time you refresh the pivot.

The automatic (AI) route

Upload the file to Excel AI App and it detects your categories and numeric fields and builds grouped summaries automatically — you choose the metric instead of dragging fields. It’s useful when a sheet has more columns than you want to reason about by hand.

Why a pivot “isn’t updating”

Pivots don’t recalculate live. Right-click → Refresh, or base the pivot on a Table so new rows are captured on refresh. When you need a running total that does update live, a SUMIFS formula is the better fit.

Written by
Ashok Kumar P · Founder, DigiMoor

Ashok Kumar P is the founder of DigiMoor Technology Solutions and the creator of Excel AI App. He builds tools that make spreadsheet analysis accessible to non-experts, and every formula and statistical method in these guides is tested in both Microsoft Excel and Google Sheets before it's published.

Contact AshokLinkedIn →

Frequently asked questions

How do I create a pivot table automatically in Excel?

Select any cell in your data and go to Insert → PivotTable, or Insert → Recommended PivotTables to let Excel suggest a layout. Format your source as a Table first so new rows are included automatically when you refresh.

Can AI build a pivot table for me?

Yes. Upload your sheet to Excel AI App and it detects your categories and numeric fields and builds grouped summaries automatically — you choose the metric to pivot on instead of dragging fields.

Why isn't my pivot table updating with new data?

A pivot table only refreshes on demand. Right-click → Refresh, or base the pivot on an Excel Table (Ctrl+T) so added rows are picked up automatically on the next refresh.

Keep exploring

Free Tool
SUMIF / COUNTIF Generator
Free Tool
AI Formula Generator
Guide
Analyze Excel with AI
Guide
Best AI Spreadsheet Tools

Analyze a whole spreadsheet with AI

Upload an Excel or CSV file and get pivots, outlier detection, and Smart BI dashboards in seconds. Free to start — no credit card.

Open the App Free