For instance, say I wanted to sum the data from a range of sheets...
=sum(sheet1:sheet5!C2)
...summing C2 across those sheets, however I would like to change the range of those sheets often (sheet1 to sheet3, sheet 4 to sheet5, etc).
Is it possible to make a data validation drop down to automatically change the initial formula to what I want?
For instance, my drop down would be..
Sheet1
Sheet2
Sheet3
Sheet4
Sheet5
And when I select one of these, it changes the bold part of this formula to the sheet picked from the list.
=sum(sheet1:sheet5!C2)
Obviously I would have 2 dropdown validations to change the value on each side of the formula.
=sum(sheet1:sheet5!C2)
...summing C2 across those sheets, however I would like to change the range of those sheets often (sheet1 to sheet3, sheet 4 to sheet5, etc).
Is it possible to make a data validation drop down to automatically change the initial formula to what I want?
For instance, my drop down would be..
Sheet1
Sheet2
Sheet3
Sheet4
Sheet5
And when I select one of these, it changes the bold part of this formula to the sheet picked from the list.
=sum(sheet1:sheet5!C2)
Obviously I would have 2 dropdown validations to change the value on each side of the formula.