Forum Discussion

bharrison289's avatar
bharrison289
Occasional Reader
Oct 15, 2026
Solved

Pivot Table sorting is not working. Name are sorting like month names.

I have a pivot table with Names and Data for each name. I select the LastName column as the first Row in the pivot table. Excel sorts the name March to the top of the list thinking it is a data with ...
  • Emily2002's avatar
    Oct 15, 2026

    Excel can give month names priority through its custom lists, even when “March” is someone’s surname. That doesn’t mean the value has been converted to a date.

    Since you’ve already turned custom lists off, the remaining step may be to reapply the sort to the existing PivotTable:

    1. Right-click inside the PivotTable > PivotTable Options > Totals & Filters. Confirm Use Custom Lists when sorting is unchecked. This is the PivotTable-specific setting, not just the general Excel option.
    2. Right-click an actual surname in the LastName field > Sort > More Sort Options.
    3. Choose Ascending (A to Z) by LastName, then click OK.

    Turning off custom lists doesn’t necessarily rearrange items that were already sorted. Explicitly sorting the LastName field again should place March under M.

    If you’ve already done exactly that and March still stays first, create a small new PivotTable from the same source, with only LastName in Rows, and repeat the steps. If that sorts correctly, the issue is with the original PivotTable’s saved ordering rather than your names—you shouldn’t need to alter Mr March’s name to fix it.