Forum Discussion
Timothy Pautsch
May 09, 2018Copper Contributor
Increase Cell Reference by 1 each day
Hello, I would like to automatically increase this formula each day from this:
=SLOPE(Data!C2:C14,Data!B2:B14)
to this:
=SLOPE(Data!C2:C15,Data!B2:B15)
to this, etc:
=SLOPE(Data!C2:C16,Data!B2:B16)
Essentially I want to expand the data set each calendar day as I enter new data. This will calculate a new slope each day which ultimately changes a future date that I am looking for. I'm tracking weight change and looking for an X-value that matches some Y-value i.e when Y=170, X=?. Any ideas? Thanks!
- Haytham AmairahSilver Contributor
Hi Timothy,
You have an option to create a table from your existing data so that any formula referred to a column of this table will expand automatically if you add a new record.
Please open the attached file and select cell C14, then press Tab to add a new record, and see how the formula will expand.
Hope that makes sense
Haytham
- Timothy PautschCopper Contributor
This works Perfect, Thanks!