You are on page 1of 3

Sheet1

Cubic Spline Excel Function: This function was written in VBA and resides in a macro module in this workbook. An exampl
function works is shown below. In order to add the cubic_spline function to other workbooks, open the workbook and then clic
to other open workbook" button on this worksheet. In the form that appears, select the workbook that you want to add the splin
button on the form to transfer the function code.

Arguments: The cubic_spline function takes three args - column of input data, column of output data, and single point that you

The author does not make or imply any claims about the functionality of this
software and is not in any way responsible for any damage, direct or indirect,
caused by this product. The user uses it at their own risk.

Example of usage:
True Data Spline Estimates

In TrueData In Spline
1 0.75 1 #VALUE!
2 0 1.2 #VALUE!
3 -1 1.4 #VALUE!
4 3 1.6 #VALUE!
5 4.75 1.8 #VALUE!
2 #VALUE!
2.2 #VALUE!
2.4 #VALUE!
2.6 #VALUE!
2.8 #VALUE!
3 #VALUE!
3.2 #VALUE! Please visit our website for comments and
3.4 #VALUE! http://www.srs1software.com
3.6 #VALUE!
3.8 #VALUE!
4 #VALUE!
4.2 #VALUE!
4.4 #VALUE!
4.6 #VALUE!
4.8 #VALUE!
5 #VALUE!
5.2 #VALUE!

Page 1
Sheet1

odule in this workbook. An example of how using the cubic_spline


ks, open the workbook and then click on the "Export Spline function
rkbook that you want to add the spline function to and then press the

utput data, and single point that you want the spline evaluated for.

Spline Example

5
Output

3 Spline
TrueDat
2 a

0
0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 5.5
-1

-2 Input

sit our website for comments and questions!


ww.srs1software.com

Page 2
Sheet1

Spline
TrueDat
a

5 5.5

Page 3

You might also like