Aug 20 2020 04:44 AM
Hmmm... a little bit hard to explain here...
So... if I have something like =FORECAST.ETS($C100,$B$1:$B$99,$C$1:$C$99)
I want to be able to COPY PASTE (one column over and one row down) and have it change to...
=FORECAST.ETS($C101,$B$2:$B$100,$C$2:$C$100)
The $C101 part works just fine. I just don't know how to make the other stuff change as such.
Any help would be greatly appreciated.
Thanks,
Tom Kidd
Aug 20 2020 08:16 AM
Hello @Tom_Kidd,
That would be:
=FORECAST.ETS($C100,$B1:$B99,$C1:$C99)
As a note, the '$' symbol in front of a Column or Row "locks" that row in place as the formula is filled to adjacent cells. The reference $B1 locks the column B while B$1 locks the row 1.
Aug 20 2020 03:51 PM
Aug 25 2020 01:28 PM - edited Aug 25 2020 01:29 PM
This is not the ideal formula but perhaps this is what you're looking for...
=FORECAST.ETS($C100,INDIRECT(CONCAT("$B$"&ROWS($A$1:A1)&":$B$"&ROWS($A$1:A99))),INDIRECT(CONCAT("$C$"&ROWS($A$1:A1)&":$C$"&ROWS($A$1:A99))))
It uses a combination of INDIRECT() and CONCAT() functions to preserve the absolute references while acting as relative references when copied to another column/row.