I'm trying to use the LINEST formula with a set of data that isn't in contiguous cells. The reason being is the data is easier to enter into the spreadsheet this way. There are pairs of values that go together, essentially. I'm very open to setting this whole thing up differently, if someone has a suggestion.
So the data table is set up like this:
[tt]Name L1H L1D L2H L2D L10H L10D ... ... mH bH mD bD
--------------------------------------------------------------------------------------
Name val val val val val val val val slopeH y-interceptH slopeD y-interceptD
[/tt]
(I took out all the columns for clarity)
So the LINEST formula needs to grab L1H, L2H, L3H, and so on.
I've tried using commas to separate the non-adjacent cells but of course that didn't work.
Can this be done? I want to leave the data in rows as shown so I can use a lookup function in *another* table to be able to interpolate between the values. If someone has a suggestion for a different setup I'm all ears. There are 10 H values and 10 D values for each Name. The other/user table looks like this:
[tt]
Name Level Health Damage
---------------------------------------
Name 1 [user entered] val val
[/tt]
There's more data in the 2nd table, but this is the essence of how I'm using it.
Thanks for your help! (I don't know why the monospaced font isn't working in preview...)
Thanks!!
Matt
So the data table is set up like this:
[tt]Name L1H L1D L2H L2D L10H L10D ... ... mH bH mD bD
--------------------------------------------------------------------------------------
Name val val val val val val val val slopeH y-interceptH slopeD y-interceptD
[/tt]
(I took out all the columns for clarity)
So the LINEST formula needs to grab L1H, L2H, L3H, and so on.
I've tried using commas to separate the non-adjacent cells but of course that didn't work.
Can this be done? I want to leave the data in rows as shown so I can use a lookup function in *another* table to be able to interpolate between the values. If someone has a suggestion for a different setup I'm all ears. There are 10 H values and 10 D values for each Name. The other/user table looks like this:
[tt]
Name Level Health Damage
---------------------------------------
Name 1 [user entered] val val
[/tt]
There's more data in the 2nd table, but this is the essence of how I'm using it.
Thanks for your help! (I don't know why the monospaced font isn't working in preview...)
Thanks!!
Matt