1
I have several worksheet in Microsoft Excel and I am currently adding them like this:
=SUM(MySheet1:MySheetN!A2)
This funtion adds the content of all A2 cells on all the worksheets contained between MySheet1 and MySheetN both included. If I have one single error the sum results in an error. I see that there is an auxiliar AGGREGATE funtion that allows to ignore errors.
=AGGREGATE(9,6,MySheet1:A2,MySheet2!A2, ....,MySheet2!AN)
This works but I need to specify all the sheets. If I add a new worksheet I need to modify all the formulas. How could I solve this issue to make it generic?
Note: I am using the spanish version. I have tried to translate function name and syntax but might have forgot something.