Skip to main content Pricing for individuals For families For single users For premium users For students Learn more Pricing for business For small business For schools For government Pricing for enterprise For enterprise For frontline workers For nonprofits For government Meet Copilot Copilot Chat AI Agents Daily Prompt Guide Plans and pricing Microsoft Teams Word Excel PowerPoint Outlook OneDrive SharePoint Planner See all apps and services Microsoft Office Windows 365 Microsoft Viva Microsoft Edge Microsoft Agent 365 Plans and pricing Learn to use Copilot Copilot learning center Cost savings Accounts and billing FAQ Setup and install Templates Training What's new Microsoft Frontier Program Microsoft 365 Roadmap Microsoft 365 Blog Small Business Resource Center Self-help resources Billing support Community Contact Microsoft Support Self-help resources Admin self-help Support plans Find a partner Contact Sales Community Self-help resources Educator Center Request support Contact Microsoft Support Community Become a partner Partner resources See all support Try for free
  • 1 min read

Quick Trick: Resizing column widths in pivot tables


Try Microsoft 365 Copilot

Available on desktop and mobile devices

(Who could be better than a Business Intelligence analyst at teaching us a thing or two about Excel? We asked our own number-crunching wizard Stacey Armstrong to share some Excel tricks she’s learned along the way.)

Issue: Excel automatically makes column widths too wide

I often work with pivot tables that have URLs as rows of data, and the URLs can be quite long. In the past, whenever I changed the data and refreshed the pivot table, Excel would automatically resize the column width, making the column as wide as the longest URL. This pushed all my other data to the right and out of view. To see it, I had to scroll–an extra eye-wearying, time-consuming step. 

Trick: How to change the default column width when refreshing a pivot table

  1. Right-click in the pivot table 
    resizing pivot tables
  2. Select Pivot Table Options
  3. In the Pivot Table Options dialogue box, click the Layout and Format tab, and then uncheck the box Autofit column widths on update.
    Short URLs

Now the column width doesn’t change each time the pivot is refreshed, but now you need to define how wide the column with the URLs should be.

  1. Go back to your pivot and select the column with the long URLs. Right-click, and enter a value for the column width. 

    Now when you refresh the pivot table, the column doesn’t resize. Instead its width corresonds to the value you entered.