In Excel: select category labels and values, then choose Insert ▸ Bar Chart or Column Chart; use bars for long labels and columns for compact category names.
Put categories in one column and values in the next.
Select only the labels and values, excluding totals.
Choose Insert ▸ Bar Chart or Column Chart.
Sort categories and format the axis so labels are readable.
What this does
Bar and column charts compare values across categories. A bar chart runs horizontally, which works well for long names and ranked lists. A column chart runs vertically and is common for time buckets or short labels. The chart should use a clean label column, one or more numeric series and no total row inside the selected data. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “line and bar graph excel”. Start on a copy or a tiny sample, keep the affected chart visible, and compare the result with the tool above before you touch the real workbook. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. The point is a visual that makes the number obvious at a glance, but the practical win is that someone else can open the file and understand what happened without asking you.
A worked example
Products are in A2:A6 and revenue is in B2:B6. Select A2:B6, choose Insert ▸ Bar Chart, then sort the source data descending so the largest product appears first. Add data labels when exact values matter. Bar charts are the clearest default for category comparison, from revenue by product to tickets by owner. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.
In Google Sheets
If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. Nothing on this page is behind a login: the tool runs entirely in your browser, the formula is shown in full with one-click copy, and the steps work the same on Windows and Mac. That is the whole promise here — the exact answer, a way to prove it on your own numbers, and just enough context to make it stick. The short version of “line and bar graph excel”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.
Common mistakes
- Including a total row, which dwarfs the real categories.
- Using a pie chart for many categories when a bar chart would be clearer.
- Leaving categories unsorted when ranking is the point.
- Starting the value axis away from zero in a way that exaggerates differences.
Frequently asked questions
Bar chart or column chart?
Use bars for long labels or rankings; use columns for short labels or time buckets.
How do I show values on bars?
Add data labels from Chart Elements.
Should a bar chart start at zero?
Usually yes, because bar length visually encodes the value.
Other ways people ask this
People reach this page typing “bar line graph excel” and “excel bar and line graph”, among other phrasings; whichever wording you used, the fix above is the one you want.
Why do people search for this in so many different ways?
Because the same task has many names. “bar line graph excel”, “excel bar and line graph” all point at the one operation explained on this page, which is why they all lead here.