How to set pivot table borders in Excel 2024

George Sinkinson 110 Reputation points
2025-09-28T17:28:16.5433333+00:00

Not sure of the proper procedure, so I thought I'd take another shot at this. Some time ago I posted the following, but never found a solution:

I am trying to adjust a pivot table created in Excel 2024 to match a similar pivot table created in Excel 2021.

I've looked at a lot of clips but am still unable to figure out how to do it.

I would like to show the borders around each of the column groupings.

This the 2021 version:Pivot Table Borders 2019

This the 2024 version:
Pivot Table Borders 2024

Can you tell me how to do it, or point me to a really good 'How-To' tutorial?

I've tried opening the 2021 version in 2024, but the expand/collapse buttons behave in a weird fashion and wind up hiding all the rows.

Microsoft 365 and Office | Excel | For business | Android
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Gabriel-N 9,950 Reputation points Microsoft External Staff Moderator
    2025-09-29T02:20:34.92+00:00

    Dear George Sinkinson

    Thank you for reaching out to the Q&A Forum. I understand how confusing the differences between Excel versions can be. Excel 2024 changed the default PivotTable style, but you can manually add borders. If you are using Windows, please try the following methods:

    1> Go to the Design tab > Report Layout > Show in Tabular Form to check if this resolves the layout differences.

    User's image

    2> Add Borders manually by selecting the entire PivotTable (or the specific area you want)> Go to Home > Borders and choose All Borders or More Borders for custom settings.

    User's image

    3> Apply or create a PivotTable style in the Design tab, where you can select a recent style or create a new one that matches your preferred look.

    User's image

    If you are on macOS, the steps are similar, but the interface may look slightly different. If you have any further questions or if this does not address your situation, please do not hesitate to contact.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. 


  2. George Sinkinson 110 Reputation points
    2025-10-01T18:12:00.4933333+00:00

    Following Gabriel-N's suggestion, I get this:
    Pivot Table Borders 2024_x

    I want to avoid lines around each cell.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.