I'm trying to repeat a formula in Excel using the cpan WriteExcel perl module.
The formula is "=B1-B2"; I want it to go down the "C" column like this: =B1-B2, =B2-B3, =B3-B4..etc all the way down the column. While this is simple to do in Excel manually, I am trying to automate this in a perl script and having some difficulty. The line of code in question is:
$rowcount3 works fine, it basically gives the column/row number, as in C1, C2, etc. The Formula itself is just subtracting $line_count - $line_count_plus_1. My line count variables are ok, The error is in how I am writing the formula. Can anyone help?