pivot-diag CLI audits Excel pivot tables for conflicts before refresh errors occur
A developer has released pivot-diag, a free, open-source command-line tool that scans Excel workbooks for pivot table configuration problems before they cause errors. The tool detects issues such as overlapping pivot placements, intersecting source ranges, and cache references pointing to renamed or deleted sheets. It works by directly parsing the OOXML structure inside .xlsx and .xlsm files using only Python's standard library, requiring no third-party dependencies. pivot-diag is strictly read-only and never modifies the workbook being analyzed, making it safe to run on production files. The tool is available on GitHub and is designed to surface hidden problems — particularly broken sheet references — before a user triggers a refresh in Excel.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in