Skip to content

Conditional formatting uses old value for formula cell #651

@ianscriven

Description

@ianscriven

This is applicable to the current master branch, not a released version - specifically pull request #648

See the attached file. Both cells have a conditional formatting rule (red with red text) if the value is > 5. With the latest build using POI 3.17, changing A1 to 6 causes only A1 to be highlighted red, even though B1 ("=A1") is also 6. Subsequently changing A1 back to 5 causes B1 to be highlighted red, even though it's value is 5 again.

Seems to me that the conditional formatting is being evaluated before the formula is - so it's using the old value of the cell.

Tagging @alexberazouski and @WoozyG as I'm not sure if this is a Vaadin Spreadsheet issue or a POI issue.

conditional formatting - formula cells.xlsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions