How to Make Pareto in Excel
In this article
A Pareto chart is simply a bar chart with an added line graph that shows cumulative percentages. It helps you identify the vital few factors causing the majority of problems. You do not need any special software; you only need a standard Excel installation and your data sorted by frequency.
What You'll Need
- A computer with Microsoft Excel installed (desktop or web version).
- A dataset containing a list of items (e.g., error types, customer complaints) and their corresponding counts or costs.
- Basic knowledge of sorting data in Excel and using the SUM function.
Step-by-Step
- Prepare your raw data. Ensure your data is in two columns. The first column should contain the categories (e.g., "Software Bug", "Hardware Failure"). The second column should contain the numerical values (e.g., the number of tickets or the total cost). Do not include headers in your raw data range unless you plan to include them in the chart later; it is often cleaner to have simple headers at the top of the columns.
- Select your data. Click and drag to highlight the entire block of data, including both the category names and the numbers. This selection tells Excel which data points to map to the bars of the chart.
- Insert the chart. Go to the "Insert" tab in the ribbon at the top of the window. In the "Charts" section, look for the "Insert Column or Bar Chart" icon (it usually looks like a small vertical bar). Click the drop-down arrow next to this icon. Select the first option under "Clustered Bar" (horizontal bars are often easier to read for long category names) or "Clustered Column" (vertical bars) depending on your preference. Excel will generate a standard bar chart immediately.
- Convert the bars to a Pareto layout. The chart you just made is a standard frequency chart, not yet a Pareto chart. You need to change the secondary axis. Right-click on the blue (or default color) bars in your chart. From the context menu that appears, select Format Data Series (if you have multiple bars, ensure you right-click the one representing your values, not the labels). In the Format Data Series pane that opens on the right side of the window, click on the Secondary Axis radio button. This action detaches the bar values from the primary axis and places them on a secondary axis on the right side of the chart.
- Add cumulative percentages. You now need a line graph that overlays the bars to show the 80/20 rule trend. Go to the "Insert" tab again. This time, look for the "Insert Line or Area Chart" icon. Select the first option, which is usually a simple line with markers. Excel will add a line graph to your chart. This line currently represents the count of items, not the percentage.
- Format the secondary axis. Click on the line graph to select it. Right-click on the line or the markers and choose Format Data Series. In the pane, ensure the Primary Axis is selected. This forces the line graph to use the scale of the bars (0 to the total count). Now, right-click on the vertical axis on the right side of the chart (the one that is currently empty or labeled "Axis Options") and select Format Axis. In the pane, under the Bounds section, set the Minimum to 0 and the Maximum to 1 (or 100% if labeled as percent). This changes the scale so that the top of the right axis represents 100%.
- Calculate cumulative data (if automatic calculation fails). Sometimes, simply inserting a line chart does not automatically calculate cumulative percentages correctly in older versions of Excel. To be safe, you can calculate the percentages manually. Create a new column next to your data. In the first cell, enter the formula
=B2/$B$11(assuming your values are in column B and your total is in cell B11). This divides the first value by the total. Drag this formula down for all rows. Now, create a third column for cumulative percentages. In the first cell, enter the formula=C2(copying the percentage). In the second cell, enter=C2+C3. Drag this formula down. Now, highlight these cumulative values and insert a line chart as a Combo Chart (you may need to use the "All Charts" tab in Insert > Recommended Charts to select the specific combo option). Select the line chart type for the cumulative column and set it to display on the secondary axis. - Finalize the visual. Your chart should now show bars rising upward and a line graph curving to the right, approaching the 100% mark on the vertical scale. Right-click on the vertical axis labels on the right side and choose Format Axis. Under Number, select Percentage and set decimal places to 1 or 0. Remove any gridlines that clutter the view by right-clicking them and selecting Delete. Finally, add a title by clicking "Chart Title" in the top left of the chart and typing "Pareto Analysis" or a more specific title like "Top 5 Reasons for Customer Returns".
Common Mistakes
One of the most frequent errors is failing to sort the data by frequency before creating the chart. A Pareto chart is only valid when the items are ordered from the most frequent to the least frequent. If your data is not sorted, the chart will not illustrate the 80/20 rule effectively. Always use the "Sort Largest to Smallest" feature on your data column before inserting the chart.
Another mistake is confusing the axes. The primary vertical axis (left) represents the count or frequency of the items. The secondary vertical axis (right) represents the cumulative percentage. If you mix these up, the line graph will not align with the bars, rendering the chart useless for analysis. Ensure the line graph is set to use the secondary axis and the right axis is scaled from 0 to 100%.