I'm using the xlsxwriter python module..
# Calculate Sum of Column
for column in range(11, 12):
# Determine where we will place the formula
cell_location = xl_rowcol_to_cell(number_rows+2, column)
# Get the range to use for the sum formula
start_range = xl_rowcol_to_cell(1, column)
print(start_range)
end_range = xl_rowcol_to_cell(number_rows, column)
print(end_range)
# Construct and write the formula
formula = "=SUM(ABS({:s}:{:s}))".format(start_range, end_range)
print(formula)
sheet.write_formula(cell_location, formula, fmt)
However, when I execute this code, an @ symbol is added which causes the formula to not work:
=SUM(ABS(@L2:L16))
it should be =SUM(ABS(L2:L16))
Has anyone experienced something alike?
