my $percent_format = $workbook->addformat(); $percent_format->set_num_format( '[Red][<=.96]0.0%;[Blue][<=.99]0.0%;[Color 10]0.0%');