Skip to content

[BUG] - Conditional formating removed from filled template #1082

Done

Description

@david-olink

Description

Conditional formatting that I have added to the template I use gets removed in the filled template.

Expected Behavior

Conditional formatting to be kept in the filled template.

Actual Behavior

Conditional formatting is stripped away in the final Excel file.

Environment (please fill the following information):

  • MiniExcel Version: 2.0.1
  • .NET Version: net10
  • OS: Windows

Files and/or Screenshots

If applicable, please upload:

  • The document you're trying to query, or a mock if not available
  • The malformed result of the document you're tying to generate
  • The template document you're trying to fill

Additional Context

Example of a rule
image

The XML for the conditional formatting stored in sheet2.xml looks like this:

...
    </sheetData>
    <conditionalFormatting sqref="A1:XFD1048576">
        <cfRule type="cellIs" dxfId="0" priority="1" operator="equal">
            <formula>"Yes"</formula>
        </cfRule>
    </conditionalFormatting>
    <pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3" />
</worksheet>

Activity

  1. added
    bug
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions