Yes, you can rearrange columns in a pivot table by dragging the field buttons in the Column Labels area, or by using the Move Up/Move Down commands in the field list. This article explains every method, including how to reorder specific values, move entire fields, and fix common issues.
Why Column Order Matters in a Pivot Table
Pivot tables summarize large datasets, but the default column order often follows alphabetical or chronological sorting, which isn’t always the most logical for your report. For example, if you have a field called “Region” with values East, West, North, South, Excel will show them alphabetically: East, North, South, West. But you might want them in a custom order like North, South, East, West to match your company’s territory structure. Rearranging columns makes the pivot table easier to read, more professional, and can highlight trends that alphabetical order hides.
Method 1: Drag and Drop Column Headers
The quickest way to reorder columns is to click directly on a column header (the cell that shows the field value, like “East”) and drag it left or right. When you hover over the header, your cursor changes to a four-sided arrow. Hold down the left mouse button, drag to the desired position, and release. A thick vertical line shows where the column will drop. This works for both row and column fields, and it’s available in Excel for Windows, Mac, and Excel for the web.
Note: If your pivot table has multiple column fields (e.g., Year and Quarter), dragging a header moves that specific value within its own field, not the entire field. To move the whole field, use Method 2 or 3.
Method 2: Use the Field List’s Move Commands
If you prefer not to drag, or if you want to move an entire field (like swapping “Year” and “Quarter” in the Columns area), use the field list:
- Click anywhere inside the pivot table to show the PivotTable Fields pane.
- In the bottom-right section (the four drop zones: Filters, Columns, Rows, Values), find the field you want to move.
- Right-click that field name and choose Move Up or Move Down. The order in the Columns area determines the hierarchy: the topmost field is the outermost column level.
Alternatively, you can click the field name and use the small arrow that appears on the right side of the field button in the drop zone. This method is reliable and works in Excel 2010 and later, including Microsoft 365.
Method 3: Sort Options for Quick Reordering
Sometimes you don’t need a custom order—you just want to reverse the current order or sort by a value. Right-click any column header, then choose Sort and select one of the options:
- Sort A to Z – alphabetical ascending
- Sort Z to A – alphabetical descending
- More Sort Options – opens a dialog where you can sort by a specific value field (e.g., by Total Sales) and choose ascending or descending.
Sorting by a value field is handy when you want columns to appear from highest to lowest sales, for instance. This method changes the order of all values in that field, not just one.
Method 4: Custom Lists for Non-Alphabetical Order
If you frequently need a specific order (like Monday to Sunday, or Low-Medium-High), you can create a custom list and Excel will respect it when sorting. Here’s how:
- Go to File > Options > Advanced and scroll to the “General” section.
- Click Edit Custom Lists.
- In the dialog, type your list in the “List entries” box (one per line) and click Add.
- Now, in your pivot table, right-click a column header, choose Sort > More Sort Options, and select the “Manual” option (or just drag, but the custom list will be used when you use A to Z sorting).
This is a real feature in Excel for Windows. On Mac, custom lists are created under Excel > Preferences > Custom Lists. After creating the list, sorting by that field will follow your custom order instead of alphabetical.
Method 5: Move a Column Field to a Different Position
Sometimes you need to change the hierarchy of column fields—for example, from “Year” then “Quarter” to “Quarter” then “Year.” This changes how the pivot table groups data. To do this:
- In the PivotTable Fields pane, click the field button in the Columns area (e.g., “Year”).
- Drag it above or below another field button. The order in the area directly controls the nesting: the field at the top is the outermost level.
Alternatively, use the right-click Move Up/Move Down commands as described in Method 2. This is essential when you want to compare quarters across years versus years within quarters.
Common Problems and Fixes
Here are typical issues people face when rearranging columns:
- Dragging doesn’t work: Make sure you click the actual header cell, not the field button in the PivotTable Fields pane. Also, ensure the pivot table is not in “Compact” layout, which can hide column headers. Switch to Report Layout > Show in Tabular Form to see all headers.
- Columns keep reverting: If you have a filter on the field, or if the data source changes, the order may reset. To lock a manual order, right-click the header, choose Field Settings, go to the Layout & Print tab, and uncheck “Sort ascending” if it’s selected.
- Cannot move a field because it’s in the Values area: Only fields in the Columns area (the top-right drop zone) control column order. If you want to reorder value fields (like Sum of Sales vs. Sum of Profit), drag them within the Values area—their order there determines column order for those value fields.
- Excel for the web limitations: Drag-and-drop works, but the right-click Move Up/Down may not be available in all browsers. Use the field list’s arrow buttons instead.
Frequently Asked Questions
How do I move a column to the far left in a pivot table?
Click the column header and drag it to the leftmost position until you see a vertical line at the left edge, then release. Alternatively, right-click the header, choose Move (if available) or use the field list’s Move Up command repeatedly until it reaches the top of the Columns area.
Why can’t I drag columns in my pivot table?
This usually happens when you’re in Compact layout, which hides column headers. Go to Design > Report Layout > Show in Tabular Form. Also, make sure you’re clicking a value header (like “East”), not the field button in the field list. If you’re in Excel for the web, try using the field list’s arrows instead.
Can I reorder columns based on a cell value, like total sales?
Yes. Right-click any column header, choose Sort > More Sort Options, then select “Ascending” or “Descending” and choose the value field you want to sort by (e.g., “Sum of Sales”). This will reorder all columns based on that value.
Does rearranging columns affect the pivot table’s underlying data?
No. Rearranging columns only changes the display order. The source data remains untouched. If you refresh the pivot table, the column order you set manually will usually persist unless the data adds new values, which appear at the end.
How do I reorder columns in a pivot table on a Mac?
The drag-and-drop method works the same. For the field list, right-click the field name and choose Move Up or Move Down. The ribbon paths are the same as Windows for most features, except custom lists are under Excel > Preferences > Custom Lists.
What if my pivot table has multiple column fields, like Year and Quarter?
Each field’s values are grouped together. To reorder the fields themselves, use the field list to move the field buttons up or down in the Columns area. To reorder values within a field, drag the individual headers. For example, you can drag “Q4” before “Q1” within the Quarter field.
Related
- Random Number 1-20: How to Generate One
- Data Entry Operator WFH: Real Jobs, Pay & How to Start
- Balloon with Number 1 Birthday: Meaning & Ideas
Try it: the Percentage Formula Generator: percent of, percent change, increase and decrease, with the formula.
More in Charts & pivot tables
- Excel Pivot Table Sort Sum Column: How-ToTo sort a pivot table by the Sum column (e.g., Sum of Sales), click any cell inside that…
- Pivot Table Report Is Invalid Error: Causes and FixesIn Excel, a “PivotTable report is invalid” message usually means the PivotTable’s source data or its field layout…
- Excel Histogram Equation: Formulas, Bins, and ChartsExcel has no single “histogram equation”: a histogram groups numeric values into intervals called bins and shows how…
- How to Plot a Waterfall Chart in Excel Step by StepTo plot a waterfall chart in Excel, arrange your categories in one column and the changes in value…
- Pivot Chart Add Legend: How to Show and Format It in ExcelTo add a legend to a PivotChart in Excel for Microsoft 365 on Windows, select the chart, then…
- Excel Pivot Chart Slicers: How to Add and Use ThemAn Excel PivotChart slicer is a set of clickable filter buttons for a PivotTable and its connected PivotChart.…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.