Skip to content

Parametrized excel formulas in conditional formatting rule #157

Closed Answered by SoltauFintel
anastasiya-belova asked this question in Q&A
Discussion options

You must be logged in to vote

hi

I don't know if JXLS supports JEXL formulas at that place. I guess not.

  • Is ${bonus} a fix value for the whole Excel file?
  • Why do you write [...] ?? $[ ... ] instead??
  • Workaround: write ${bonus} e.g. into cell AA1 and use AA1 in the formula.

You could debug PoiSheetData.java:86 (updateConditionalFormatting). If the formula appears there we could use the JEXL evaluator at that place. For adding a new feature we'll need a PR. See https://github.com/jxlsteam/jxls/blob/master/CONTRIBUTING.md

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@anastasiya-belova
Comment options

Answer selected by SoltauFintel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants