I have a spreadsheet where i want to sum up a column values. The Spreadsheet::Formula has a very weird documentation. Is Formula supported or should I sum a column by summing up the values of the cells in a column?
views:
27answers:
1
A:
I think that if there is already an existing cell in the worksheet that contains a formula to sum the range you want then you can retrieve the value of that formula (using Spreadsheet::Formula#value
), otherwise you should just use Ruby code to sum the values from the column required.
mikej
2010-05-26 08:00:32