Mightyginger
Programmer
Hi,
I am using an interpolation in Excel and as part of this it takes a range of X inputs and range of Y inputs. Now lets assume the function looks like this:
=interpolate(B1:B8,C1:C8,D2) where the B column are my X values and C are my Y values and D2 is the X value I want to interpolate for. The issue is the interpolation function won't accept empty cells so can I use a CountIf function to figure how many cells are not empty and then adjust the range size dynamically? So have B1:B7 instead? I was thinking I might be able to use a combination of Offset and Match using the number returned from the CountIf. Any thoughts?
Thanks in advance,
Neil.
I am using an interpolation in Excel and as part of this it takes a range of X inputs and range of Y inputs. Now lets assume the function looks like this:
=interpolate(B1:B8,C1:C8,D2) where the B column are my X values and C are my Y values and D2 is the X value I want to interpolate for. The issue is the interpolation function won't accept empty cells so can I use a CountIf function to figure how many cells are not empty and then adjust the range size dynamically? So have B1:B7 instead? I was thinking I might be able to use a combination of Offset and Match using the number returned from the CountIf. Any thoughts?
Thanks in advance,
Neil.