We have a process which sends a spreadsheet through e-mail. The amount of rows the spreadsheet contains is variable as it depends on the amount of data the customer has at a certain point in time. One of the columns is amount and we would like for the spreadsheet to sum up all the amounts in the respective column, but can't seem to find a way to do so. We though about setting the value of the cell by getting the last cell that has data and then writing the formula as a text, but it didn't work. I also tried recording a macro with Excel by doing relative reference, but since the amount of rows changes every time I can't setup a dynamic feature in order to the cell to read the first row with data everytime (the amount of rows it has to go up changes every time from 0 to infinite) Any other ideas of how to input the autosum formula?
Lourdes Urena
Sr Solutions Engineering
Grainger Panama Services
Panama