Excel reference

Charts & Graphs

Quick answer

Not a function, a visual. Turns a table into a picture: a bar chart, a line chart, or a pie chart, depending on what question the data is actually answering.

Insert → Chart → pick a type: Bar (compare categories) · Line (trend over time) · Pie (share of a whole)

The hardest part of charting in Excel isn't finding the Insert Chart button, it's picking the right chart type for what the data is actually supposed to show. Comparing a handful of categories side by side, regions, reps, products, calls for a bar chart. Tracking one number across consecutive time periods calls for a line chart, so the trend itself is visible rather than buried in a row of separate bars. Showing how parts add up to one meaningful whole calls for a pie chart, and only that case: a pie implies the slices genuinely sum to something real, which a trend or an open-ended comparison doesn't.

Whenever the raw data has more than one row per category, group and aggregate first using the same Sum/Average/Count/Min/Max vocabulary a pivot table uses, before the chart is built on top of it.

Syntax

Insert → Chart → pick a type: Bar (compare categories) · Line (trend over time) · Pie (share of a whole)
ArgumentDescription
Category (X axis)Required. The field each bar, point, or slice represents, e.g. Region, Month, Department.
Value (Y axis)Required. The numeric field being charted, plus an aggregation (Sum, Average, Count, Min, Max) whenever more than one row shares a category.
Chart typeRequired. Bar, Line, or Pie, chosen for what the data means, not personal taste.

A real example: a sales trend that a bar chart would hide

Monthly user counts, where the point is the direction of travel, not just the three raw numbers:

Type: Line · Category: Month · Value: Sum of Users

A bar chart of the same three numbers would show the same values, but a connected line makes the upward (or downward) movement across months the actual thing a reader notices first.

Worked examples

Comparing categories
AB
1RegionSales
2West620
3East300
4South150
Type: Bar · Category: Region · Value: Sum of Sales → Three bars: West (620), East (300), South (150)
A trend over time
AB
1MonthUsers
2Jan1200
3Feb1350
4Mar1290
Type: Line · Category: Month · Value: Sum of Users → One connected line rising from Jan to Mar

(a bar chart would show the same numbers but hide the trend)

Common mistakes

  • Picking a pie chart when there's no real "whole" the slices add up to. A trend or an open-ended comparison doesn't belong in a pie.
  • Charting a trend over time as a bar chart instead of a line. The numbers are the same, but a line chart makes the trend itself the point.
  • Forgetting to group and aggregate first when the raw data has more than one row per category. A chart summarizing 6 rows into 3 categories still needs that step, the same way a pivot table does.

Related functions

Try it yourself

A free, graded practice exercise using this exact function: instant feedback, no signup required.

Practice charts →