+ Reply to Thread
Results 1 to 9 of 9

Interpolated data look-up in xls sheet using 4 variables. How to do this?

  1. #1
    Registered User
    Join Date
    04-17-2021
    Location
    Netherlands
    MS-Off Ver
    MS Office 365
    Posts
    9

    Interpolated data look-up in xls sheet using 4 variables. How to do this?

    Hi All,

    Attached is an xls file from which I am trying to get automated output based on input of 4 variables.


    input:

    1. Brake on speed
    2. Weight
    3. Temperature
    4. Pressure Altitude

    Output:
    1. Reference brake energy.

    Input values could be values in between the table values; e.g.
    1. Brake on speed: 150 KIAS
    2. Weight: 250 TONS
    3. Temperature: 25 DEGREES C
    4. Pressure Altitude: 2000 FT

    should return the output of 56.24

    I need some advise on how to do this. I was thinking of making several graphs with trend lines and deriving formulas, but maybe there is an easier way...
    Any help would be greatly appreaciated. Thanks in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,192

    Re: Interpolated data look-up in xls sheet using 4 variables. How to do this?

    You have concatenated/merged all your data so I cannot see how it is possible to extract, for example, the data in D5 which is a text string.

    Totally impractical.
    Last edited by JohnTopley; 04-17-2021 at 03:38 PM.

  3. #3
    Registered User
    Join Date
    04-17-2021
    Location
    Netherlands
    MS-Off Ver
    MS Office 365
    Posts
    9

    Re: Interpolated data look-up in xls sheet using 4 variables. How to do this?

    Hi John,

    Understood. The file was generated by a PDF to XLS converter, that's why it contained strings.
    I just modified it so that all data is usable. See attachment. Thanks.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,192

    Re: Interpolated data look-up in xls sheet using 4 variables. How to do this?

    See attached columns AA:AB for standard INDEX/MATCH calculations

    Result does not agree with yours: I suspect you did some extrapolation as 56.24 does not exist in the table.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-17-2021
    Location
    Netherlands
    MS-Off Ver
    MS Office 365
    Posts
    9

    Re: Interpolated data look-up in xls sheet using 4 variables. How to do this?

    We are going in the right direction.

    But what is required is 4 times a double interpolation.
    The 16 values that need to be interpolated are highlighted in the attachemnt.
    Each area of 4 values needs a temperature interpolation (so 50% up vertically from the lower valua (25 lies between 20 and 30), and 20% up horizontally from the lower value (2000 feet is 20% up between 0 and 5000 feet).
    The average of the 4 results is the final result. I am getting 54,99 now...

    Seems to be quite a difficult task to make this work.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,192

    Re: Interpolated data look-up in xls sheet using 4 variables. How to do this?

    It is late now but I don't understand why you are extrapolating to 160.

    You need to explain your extrapolation logic.

    Signing off now!

  7. #7
    Registered User
    Join Date
    04-17-2021
    Location
    Netherlands
    MS-Off Ver
    MS Office 365
    Posts
    9

    Re: Interpolated data look-up in xls sheet using 4 variables. How to do this?

    The sample 4 values that were given in my example do not match exactly with any cell value.

    1. Brake on speed: 150 KIAS -> This value needs to interpolated between 140 and 160 KIAS
    2. Weight: 250 TONS -> This value needs to interpolated between 240 and 260 TONS
    3. Temperature: 25 DEGREES C -> This value needs to be interpolated between 20 and 25 DEGREES C
    4. Pressure Altitude: 2000 FT -> This value needs to be interpolated between 0 and 5.000 FEET.

    This leaves us with 4 sets of 4 figures that need to be interpolated.
    The average of the 4 results is the correct outcome.

  8. #8
    Registered User
    Join Date
    04-17-2021
    Location
    Netherlands
    MS-Off Ver
    MS Office 365
    Posts
    9

    Re: Interpolated data look-up in xls sheet using 4 variables. How to do this?

    Managed to solve the interpolation issue.

    Took John's solution as basis and assigned the cell for interpolation by shifting the index results by +6 vertically and +3 horzontally.
    Still need to makes sure interpolation is not done outside the index matrix. I will do this by restricting the input values...

    Thanks again John!
    Attached Files Attached Files

  9. #9
    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: Interpolated data look-up in xls sheet using 4 variables. How to do this?

    I used a short macro to detabulate the data (portion shown below), and then used the inverse distance weighting method to interpolate.

    W
    X
    Y
    Z
    AA
    AB
    AC
    AD
    2
    min
    180
    0
    80
    0
    p
    3
    max
    300
    40
    180
    10
    5
    4
    rand
    292
    13
    122
    10
    48.9
    0.000111
    5
    6
    Line
    Weight
    OAT
    Speed
    Alt
    Energy
    Distance
    IntWgt
    7
    1
    300
    0
    80
    0
    18.3
    45.8
    0.000 045
    8
    2
    300
    0
    80
    5
    20.7
    45.0
    0.000 049
    9
    3
    300
    0
    80
    10
    23.4
    44.7
    0.000 051
    10
    4
    300
    0
    100
    0
    27.3
    28.6
    0.000 472
    11
    5
    300
    0
    100
    5
    31.3
    27.2
    0.000 600
    12
    6
    300
    0
    100
    10
    36.0
    26.8
    0.000 654
    13
    7
    300
    0
    120
    0
    37.8
    18.4
    0.004 317
    14
    8
    300
    0
    120
    5
    43.7
    16.2
    0.008 100
    15
    9
    300
    0
    120
    10
    50.6
    15.4
    0.010 408
    16
    10
    300
    0
    140
    0
    49.5
    25.6
    0.000 813
    17
    11
    300
    0
    140
    5
    57.5
    24.1
    0.001 101
    18
    12
    300
    0
    140
    10
    67.0
    23.6
    0.001 229
    19
    13
    300
    0
    160
    0
    62.2
    42.2
    0.000 068
    20
    14
    300
    0
    160
    5
    72.4
    41.3
    0.000 075
    21
    15
    300
    0
    160
    10
    84.5
    41.0
    0.000 078
    22
    16
    300
    0
    180
    0
    75.2
    60.8
    0.000 011
    23
    17
    300
    0
    180
    5
    87.4
    60.2
    0.000 011
    24
    18
    300
    0
    180
    10
    101.0
    60.0
    0.000 012
    25
    19
    300
    10
    80
    0
    18.8
    44.0
    0.000 055
    26
    20
    300
    10
    80
    5
    21.3
    43.2
    0.000 060
    27
    21
    300
    10
    80
    10
    24.1
    42.9
    0.000 062
    28
    22
    300
    10
    100
    0
    28.2
    25.6
    0.000 813
    29
    23
    300
    10
    100
    5
    32.3
    24.1
    0.001 101
    30
    24
    300
    10
    100
    10
    37.1
    23.6
    0.001 229
    31
    25
    300
    10
    120
    0
    39.0
    13.3
    0.021 593
    32
    26
    300
    10
    120
    5
    45.1
    10.1
    0.085 653
    33
    27
    300
    10
    120
    10
    52.2
    8.8
    0.172 989
    34
    28
    300
    10
    140
    0
    51.1
    22.3
    0.001 634
    35
    29
    300
    10
    140
    5
    59.4
    20.5
    0.002 460
    36
    30
    300
    10
    140
    10
    69.1
    19.9
    0.002 866
    37
    31
    300
    10
    160
    0
    64.2
    40.2
    0.000 086
    Attached Files Attached Files
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Looking up data on one sheet based on two variables and returning a third to a second one?
    By Kabukibear in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-07-2019, 05:02 PM
  2. Reference an interpolated equation's constants
    By bsf1206 in forum Excel General
    Replies: 6
    Last Post: 04-06-2015, 01:00 AM
  3. How to calculate interpolated value in a table?
    By sein in forum Excel General
    Replies: 4
    Last Post: 11-23-2014, 07:54 AM
  4. Index-match interpolated or middle value?
    By Ciphertron in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 06-07-2014, 08:16 PM
  5. plot empty cells as interpolated
    By roly in forum Excel Charting & Pivots
    Replies: 11
    Last Post: 04-23-2007, 07:06 PM
  6. [SOLVED] how to get interpolated data point values from plotted graph
    By cal_hob in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 04-24-2006, 03:50 PM
  7. [SOLVED] Plot empty cells as: Interpolated
    By Jaco in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-14-2005, 09:05 AM

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