I don't quite understand the last two variables that are part of the OFFSET function (i.e. height, width). I keep getting a #VALUE! error if I include these values.
I have a 6 column x 6 row range of dummy data (A1:F6) that I've been practising on. If I type in:
=OFFSET(A1,1,1,3,1)
I get an error message, when I think it should produce B2:B4.
However, if I type in:
=SUM(OFFSET(A1,1,1,3,1))
then Excel sums the values B2:B4 just fine.
It would appear that Excel knows what cells I'm talking about when I include the SUM function, but displays an error when I use OFFSET on its own. What am I doing wrong?
I have a 6 column x 6 row range of dummy data (A1:F6) that I've been practising on. If I type in:
=OFFSET(A1,1,1,3,1)
I get an error message, when I think it should produce B2:B4.
However, if I type in:
=SUM(OFFSET(A1,1,1,3,1))
then Excel sums the values B2:B4 just fine.
It would appear that Excel knows what cells I'm talking about when I include the SUM function, but displays an error when I use OFFSET on its own. What am I doing wrong?