Method isColumnTrackedForAutoSizing in SXSSFSheet https://github.com/apache/poi/blob/84ba670e27948adcb572caa5065affbf1aa3a769/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java#L1502-L1505 returns true for untracked column if you invoked trackAllColumnsForAutoSizing() steps: 1. Create workbook, SXSSFSheet, and row with 2 cells 2. invoke trackAllColumnsForAutoSizing() on the sheet 3. invoke untrackColumnForAutoSizing(0) on the sheet 4. invoke isColumnTrackedForAutoSizing(0) on the sheet expected result: false actual result: true it's because `AutoSizeColumnTracker` checks `trackAllColumns` first https://github.com/apache/poi/blob/84ba670e27948adcb572caa5065affbf1aa3a769/src/ooxml/java/org/apache/poi/xssf/streaming/AutoSizeColumnTracker.java#L140-L142
Thanks - applied using https://svn.apache.org/repos/asf/poi/trunk@1876336