+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Interpolation in excel

  1. #1
    Registered User
    Join Date
    11-13-2008
    Location
    Colorado
    Posts
    89

    Interpolation in excel

    I have a (I believe) text issue within a function.

    I am using the =Spline(Xarray, Yarray, GivenX).

    This is an engineering extension pack that follows the same function rules as all others.

    So in column A is array X, column 2 is array Y...Given x is solved so no issues.

    The number of rows with data in column's 1 and 2 are the same...but unknown!

    I need to search these columns and input data from a1:a(whatever), same for B.

    So I need the function to read something like

    =Spline(A$1:A(count(a1:a1000), etc...). Know what I mean? Thanks!
    Last edited by gannon_w; 01-14-2010 at 05:47 PM.

  2. #2
    Registered User
    Join Date
    11-13-2008
    Location
    Colorado
    Posts
    89

    Re: Interpolation in excel

    Solved it by searching for an older post I made...answer below.

    =Spline(OFFSET(Data!XX1,0,0,COUNT(Data!XX1:XX1000),1),OFFSET(Data!A1,0,0,COUNT(Data!A1:A1000),1),Data!AWG2)

    Now rather than me pasting this function can someone explain exactly what the components of the below portion do?

    OFFSET(Data!XX1,0,0,COUNT(Data!XX1:XX1000),1)

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Interpolation in excel

    From Help:

    OFFSET

    Returns a reference to a range that is a specified number of rows and columns from a cell or range of cells. The reference that is returned can be a single cell or a range of cells. You can specify the number of rows and the number of columns to be returned.

    Syntax
    OFFSET(reference,rows,cols,height,width)

    Reference is the reference from which you want to base the offset. Reference must refer to a cell or range of adjacent cells; otherwise, OFFSET returns the #VALUE! error value.

    Rows is the number of rows, up or down, that you want the upper-left cell to refer to. Using 5 as the rows argument specifies that the upper-left cell in the reference is five rows below reference. Rows can be positive (which means below the starting reference) or negative (which means above the starting reference).

    Cols is the number of columns, to the left or right, that you want the upper-left cell of the result to refer to. Using 5 as the cols argument specifies that the upper-left cell in the reference is five columns to the right of reference. Cols can be positive (which means to the right of the starting reference) or negative (which means to the left of the starting reference).

    Height is the height, in number of rows, that you want the returned reference to be. Height must be a positive number.

    Width is the width, in number of columns, that you want the returned reference to be. Width must be a positive number.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    11-13-2008
    Location
    Colorado
    Posts
    89

    Re: Interpolation in excel

    PLEASE don't paste the help explaination without asking if an individual has read it first...Thats just assuming a person is not smart enough to check there first!

    Here is a simple problem...simple for you since you understand what the help answer means I DO NOT!

    I have an aray in column A with numbers through row 104...I need to use the offset? function to choose the last number in that array...

    Again I DON'T UNDERSTAND what the help menu describes!!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1