In the doc for 'Spreadsheet::WriteExcel' there this example for conditional color based on positive or negative percent value:
$f_change->set_num_format('[Green]0.0%;[Red]-0.0%;0.0%');I would like to do something slightly different: Green if over 80%, orange if over 40%, otherwise red. However I cannot understand the syntax of the format string
Everything I have tried results in excel complaining about the format and asking to recover the document :-(
Any ideas? Thanks!
In reply to Spreadsheet::WriteExcel -> Conditional Formatting Colors by sectokia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |