in reply to Spreadsheet::WriteExcel formulas in multi-row output
You probably want:$worksheet->write_formula($row+2, 12, '=1-(K.($row+2)/J.($row+2))',$al +ignPerc);
or:$worksheet->write_formula($row+2, 12, '=1-(K'.($row+2).'/J'.($row+2).' +)',$alignPerc);
Look at the actual formulas in excel and verify that they are being correctly generated.my $row_two_right = $row + 2; $worksheet->write_formula($row_two_right, 12, "=1-(K$row_two_right/J$r +ow_two_right)",$alignPerc);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Spreadsheet::WriteExcel formulas in multi-row output
by matze77 (Friar) on Dec 07, 2008 at 09:21 UTC | |
by Anonymous Monk on Dec 07, 2008 at 09:53 UTC | |
|
Re^2: Spreadsheet::WriteExcel formulas in multi-row output
by Anonymous Monk on Jan 21, 2009 at 19:16 UTC |