To reorder a bar chart in Excel, you must sort the source data table that the chart is linked to; Excel charts do not have a built-in "drag and drop" feature for individual bars. By sorting your data in ascending or descending order, the chart automatically updates to reflect that sequence, allowing you to create a Pareto chart or a ranked list.

What You'll Need

  • A Microsoft Excel workbook containing a data table.
  • An existing bar or column chart created from that data.
  • Basic familiarity with the Excel ribbon and data sorting tools.

Step-by-Step

  1. Select your data range: Click and drag to highlight the cells in your source table that contain the categories and the values. Ensure you include the header row (the labels at the top of your columns).
  2. Open the Sort menu: Go to the Data tab on the top ribbon. In the Sort & Filter group, click the Sort button. (Note: Labels and menu names may vary slightly depending on your version of Excel or region).
  3. Configure the sort settings: In the Sort dialog box that appears:
    • Ensure the "My data has headers" checkbox is checked in the top right corner.
    • Under Column (or "Sort by"), select the name of the column containing the numerical values you want to rank.
    • Under Sort On, leave it as "Cell Values."
    • Under Order, choose "Largest to Smallest" for a descending chart or "Smallest to Largest" for an ascending chart.
  4. Apply the sort: Click OK. Your data table will rearrange itself immediately.
  5. Verify the chart update: Look at your bar chart. The bars will have automatically shifted positions to match the new order of the table.

Common Mistakes

  • Trying to move bars manually: Many users attempt to click and drag a specific bar within the chart area. This is not possible in Excel; the chart is a reflection of the cells, not an independent object.
  • Sorting only one column: If you select only the value column and sort it without expanding the selection to the category names, your data will become mismatched (the wrong labels will be attached to the wrong numbers). Always select the entire table or use the Sort dialog to ensure rows stay together.
  • Ignoring the "My data has headers" box: If this is unchecked, Excel will treat your column titles (e.g., "Sales" or "Date") as actual data points and may sort them into the middle of your chart.

Tips

  • Use Excel Tables: Convert your data range into an official Table (Ctrl + T). This makes sorting easier and ensures that any new data added to the bottom of the list is automatically included in the chart's sorting logic.
  • Reverse Order for Horizontal Bars: In a horizontal bar chart, Excel often plots the first item in the table at the bottom of the axis. To have the largest value at the top, sort your data table from "Smallest to Largest" (ascending).
  • Quick Sort: If your data is simple, you can skip the Sort dialog by clicking a single cell in the value column and clicking the A-Z or Z-A buttons on the Data tab.

Troubleshooting

If the chart does not update after sorting the data, try these steps in order:

  • Check for merged cells: Excel cannot sort ranges that contain merged cells. Unmerge any cells in your data table and try the sort again.
  • Verify data links: Ensure the chart is actually linked to the cells you are sorting. If you manually entered data into the chart or used a static array, sorting the table will have no effect.
  • Refresh the sheet: While rare, some versions of Excel may lag. Press F9 to recalculate the workbook or save and reopen the file.
  • Check for filtered data: If you have a Filter applied to the table, some rows may be hidden, making the chart look incorrect. Clear all filters in the Data tab to see the full sorted set.

Frequently Asked Questions

Can I reorder bars without changing the source table?

No. Excel charts are dynamic representations of their source data. To change the order of the bars, you must change the order of the rows or columns in the spreadsheet.

Why is my horizontal bar chart upside down?

Excel plots horizontal bar charts from the bottom up. To fix this, right-click the category axis (the vertical axis with the labels), select Format Axis, and check the box for "Categories in reverse order."

How do I sort a chart by a date instead of a value?

Follow the same sorting steps, but in the Sort dialog, select the column containing your dates instead of the column containing your numbers.

Does sorting the data delete any of my information?

No. Sorting only changes the visual sequence of the rows; it does not delete or alter the actual values within the cells.

Can I create a "Top 5" chart?

Yes. Sort your data from "Largest to Smallest" and then either delete the remaining rows or adjust the chart's data range to only include the first five rows of your table.