+ Reply to Thread
Results 1 to 11 of 11

Forecast with Vlookup

  1. #1
    Registered User
    Join Date
    03-18-2018
    Location
    San Francisco
    MS-Off Ver
    MS 2013
    Posts
    73

    Forecast with Vlookup

    Hello everyone,

    Happy New Year to all. I'm working on a file regarding calculating landing distance. Here is the data for example:

    Data:
    Landing Weight = 59,400 kg
    Pressure altitude = 3,000 ft
    Temperature = 30C
    Landing configuration = FULL
    Brake Mode = Manual
    Approach speed = VLS + 8 kt
    Slope = -0.07%
    Runway Condition = Dry
    Both Reversers = Yes

    In Cells B2:C10 contains the data mentioned above.
    In Cells C22:K32 contains the Corrections on Landing Distance for a Dry runway and similar data for Good runway in Cells C38:K48.
    In Cells C36:K36 contains the calculation results based on the data in Cells B2:C20 and Cell G3 where finally Cell M36 displays the final result.

    What I'm trying to do is have a formula in Cells E36:K36 that calculates the data from Cells B2:C20 and Cell G3 with the data in Cells C22:K32. So, for example, Cell F36, the result is -660 because since my landing weight is 59,400 which is 6,600kg lower than 66,000kg and as per the rule in Cell F25, for every 1,000kg below 66,000kg, I need to subtract -10 meters which gives me -600.

    Another thing I wanted to point out is the Vapp Speed correction. The rule in Cell G5 states for every 5kt, I need to add 60 (cell G28). So looking at Cells B18:C18, you see that I have to take the value that is higher which in this case would be 8. So naturally, one would perform the following math: 2 x 60= 120. That's if I wanted to be conservative but if I were to be specific, I think it would be 1.5 instead of 2, right? Because since I'm 3 knots over 5, and 3 is the half way point of 5 would translate to be .5). So the math could be 1.5 x 60 = 90.

    I think a combination of Forecast, Vlookup and Offset may be the solution however, I don't know how to write out the formula. I'm not sure if how I have the data in Cells C22:K32 would be the correct format as I also have 3 different Brake Modes (Manual, AB MED, AB LOW). Guess what I'm trying to do is, based on my Brake Mode (Cell C36) and landing configuration (Cell D36). Cells E36:K36 can calculate the data based off Cells B2:C20 and Cell G3 and display the final result in Cell M36 and Cell M52 which in turn would display the those results in Cell G14 depending on what I select in Cell C8.
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Forecast with Vlookup

    I made a couple of modifications to your spreadsheet. I gave static names to C2:C9 so that it's easier to debug the formulas.

    Also I changed the lookup tables into true Excel Tables called Table_Dry and Table_Good. I made a "composite key" of braking mode and landing configuration. The lookup of the values is based on this composite key using XLOOKUP (it's basically VLOOKUP but you don't have to do it on the first column).

    I have some questions. I notice that in your lookup for the the Per 1% Down Slope (cell J35 on my sheet) you have no multiplier should this be multiplied by the actual slope? I assume that the value in cell C7 is the percent slope, so should this value be 20*0.07 or 1.4. Likewise should the formula for an up slope be 0.?

    I also have a question about reverse. Should this be all or nothing? In other words, you have 2 reverse or you don't reverse at all. There is no such thing as reversing one prop only.

    I also need a better explanation of Vapp. I don't see how you are getting the 5 and 8.

    Final question: what type aircraft is this?
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    03-18-2018
    Location
    San Francisco
    MS-Off Ver
    MS 2013
    Posts
    73

    Re: Forecast with Vlookup

    Quote Originally Posted by dflak View Post
    I made a couple of modifications to your spreadsheet. I gave static names to C2:C9 so that it's easier to debug the formulas.

    Also I changed the lookup tables into true Excel Tables called Table_Dry and Table_Good. I made a "composite key" of braking mode and landing configuration. The lookup of the values is based on this composite key using XLOOKUP (it's basically VLOOKUP but you don't have to do it on the first column).
    Ok. I see the changes you made. Looks better than mine, LOL. I know the XLOOKUP function is something available in the 365 Office products, which I don't have. I'm using excel 2007/2016, will I be able to construct the table the same way?? If you look in Sheet 2, I just copied the data that was from the aircraft manual.


    Quote Originally Posted by dflak View Post
    I notice that in your lookup for the the Per 1% Down Slope (cell J35 on my sheet) you have no multiplier should this be multiplied by the actual slope? I assume that the value in cell C7 is the percent slope, so should this value be 20*0.07 or 1.4. Likewise should the formula for an up slope be 0.?
    Yes, the value in Cell C7 is in percent (-0.07%) whether down slope (-0.07%) or up slope (0.07%) However, as per the rule in Cell J25, it only applies to down slope. So if the runway is up slope (i.e. 0.07%), no need to make corrections only the opposite. So I would think that a Forecast or probably the Index function ought to work because there are some runways that have slope like 0.70% or 0.30% whether up or down depending which way you are landing, for argument sake, we'll say down (i.e. 0.70% or 0.30%). One can make the conservative argument and say, if slope is -0.70%, yeah round it up to 1% or if -0.30%, keep it at zero and make the calculations. However, if one wanted to be specific, say if slope is -0.70 and at manual brake mode at full configuration Cell J27, instead of 20, it might be something like 13 or if -0.30, instead of 20 could be 8 and anything less than 0.09, no calculation needed. Something like that, I guess.


    Quote Originally Posted by dflak View Post
    I also have a question about reverse. Should this be all or nothing? In other words, you have 2 reverse or you don't reverse at all. There is no such thing as reversing one prop only.
    Each turbo jets has a thrust reverser, i.e. A320 has 2 engines, so 2 reversers. I left out the word Thrust to not make the box look too big. The rule in Cell K25 states, for each reverser working, I need to subtract 20 meters (i.e. landing manual brake mode, full config.). So 2 x -20 = -40 meters. If I only had 1 reverser working then it would be 1 x -20 = -20 meters. So the idea is, if Cell C9 says Yes that both reverser are working, then Cell K35 formula would be 2 x -20 = -40

    I guess what I could do is instead of Yes, I can do a dropdown list and select a 2 or 1. Would that be better or can a Yes be a 2 and No be a 1??


    Quote Originally Posted by dflak View Post
    I also need a better explanation of Vapp. I don't see how you are getting the 5 and 8.
    The Vapp is the final approach speed when the Slats/Flaps are in landing configuration and the landing gear are extended. It is based on a winds being reported at the airport. I just threw in a number in Cell C18 so that I can get a formula in Cell G35 to take into account the rule in Cell G25 and the data in Cells G26:31 depending on the braking mode and flap configuration I choose to use. Although, I already have a formula to calculate that from data on a another sheet. Basically Cell C18 would take 1/3 of the headwind component (that's if the headwind was 23, you divide 1/3 of that which gives you 8) in which based on the result, I would then take whichever value is higher from Cell B18 or Cell C18, in this case 8 and apply the rule in Cell G25 & G27. So it should look like this if using manual brake mode with full configuration: 2 x 60 = 120

    In other words, how many per 5 kt I have in Cell C18?? 2. Technically 1.5 because my higher value in Cell C18 is 8, not 10. If Cell C18 was 10, then it be 2 x 60 or if Cell C18 was 3, then the value from Cell B18 would apply which then be 1 x 60. Does that make sense??


    Quote Originally Posted by dflak View Post
    Final question: what type aircraft is this?
    All Airbus aircrafts, i.e. A320, A330, etc.


    All Cells mentioned are based on your sheet.

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Forecast with Vlookup

    If you don't have XLOOKUP then we can do it the old fashioned way: Index / Match.

    As far as the slope goes, I think we can use it as is (no rounding) with the exception: If(Slope > 0, 0, use the slope calculation) - I think this would be safest.

    Reverse thrust - yes, we can make this 0, 1, 2.

    Vapp - so you add airspeed depending on headwind? I've had to add airspeed due to gust factor. However, I can see how headwind will reduce landing rollout and I will go with those calculations. What I don't see is where headwind is added as one of the variables or why you would need two cells to enter it. So, I am still not getting this.

    I have not checked out the link in your message yet. Maybe after I do that I'll figure it out.

    I can make the changes I mentioned above.

    I'll work on this for the next round.

    P.S. As you can see, I'm an ex-C-130 jock.

  5. #5
    Registered User
    Join Date
    03-18-2018
    Location
    San Francisco
    MS-Off Ver
    MS 2013
    Posts
    73

    Re: Forecast with Vlookup

    Quote Originally Posted by dflak View Post
    If you don't have XLOOKUP then we can do it the old fashioned way: Index / Match.

    As far as the slope goes, I think we can use it as is (no rounding) with the exception: If(Slope > 0, 0, use the slope calculation) - I think this would be safest.
    How about making as: If(Slope > 0.10, 0, use the slope calculation) because I think that even though a full 1% down slope is 20 meters, having a down slope of 0.20 for example can result as 6 meters. I think there is a runway out there that the down slope is 1.20% or something like that but can't think of the airport.


    Quote Originally Posted by dflak View Post
    Reverse thrust - yes, we can make this 0, 1, 2.
    Ok, I can settle for that. I was trying to mimic the same dropdown list layout as in the FlySmart app.


    Quote Originally Posted by dflak View Post
    Vapp - so you add airspeed depending on headwind? I've had to add airspeed due to gust factor. However, I can see how headwind will reduce landing rollout and I will go with those calculations. What I don't see is where headwind is added as one of the variables or why you would need two cells to enter it. So, I am still not getting this.
    Just take the values in Cells B18:C18 as face value for now. As mentioned, I just threw in a number in Cell C18 because what is important is having a formula in Cell G35 (you sheet) to take into account the rule in Cell G25, the data in Cells G26:31 depending on the braking mode and flap configuration I choose to use. How I am coming up with a value in Cell C18, as mentioned, I have another file where I input the headwind, Cell C18 has the formula that will show the final result in Cell C18. Again, don't worry about how I am getting the values in Cells C18, its just a random number I input there while Cell B18 is a fixed number.

    If it still bugs you, LOL, the link I sent you as a private message, the pdf. file shows how the Vapp speed is calculated but again, don't worry about the formula. I already have it. Just focus on the formula I need in Cell G35.


    Quote Originally Posted by dflak View Post
    P.S. As you can see, I'm an ex-C-130 jock.
    Didn't know that, LOL. As you see, I'm an Airbus jock.

  6. #6
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Forecast with Vlookup

    I am getting a much better handle on this going through link you mentioned.

    I am looking at the tables you have on sheet 3 and I notice that Column F doesn't match what you have for that column. It compensates for weights above 66T you have a figure for below 66T.

    I am working on a way to use all 6 charts - Dry to Poor without having to duplicate the tables.

    I feel that I can do this "by the book." In other words in conformance with the link.

    Let me know what you think.

  7. #7
    Registered User
    Join Date
    03-18-2018
    Location
    San Francisco
    MS-Off Ver
    MS 2013
    Posts
    73

    Re: Forecast with Vlookup

    Quote Originally Posted by dflak View Post
    I am getting a much better handle on this going through link you mentioned.
    Glad the file in the link I sent you helped you get a better picture.


    Quote Originally Posted by dflak View Post
    I am looking at the tables you have on sheet 3 and I notice that Column F doesn't match what you have for that column. It compensates for weights above 66T you have a figure for below 66T.
    Yes, I did that intentionally. If you look at Sheet 2, the tables look exactly how they are from the aircraft manual. However, I changed Column F data with that of which is outlined in Cell B15. I did it this way to make it easier since I wouldn't be landing an aircraft above 66,000 kgs. As you stroll down the sheet, you see other tables that display the data depending on the runway condition and you also see that at the bottom of each table, there is a note "weight correction."


    Quote Originally Posted by dflak View Post
    I am working on a way to use all 6 charts - Dry to Poor without having to duplicate the tables.
    If you think you can do that, try it out. But remember, in each table at the bottom of them, there are different weight corrections rules. For example, Medium to Poor says if CONF FULL, subtract 20m per 1T below 66T. If CONF 3, subtract 30m per 1T below 66T while for Medium, it states subtract 20m per 1T below 66T, regardless is I use configuration 3 or full.


    Quote Originally Posted by dflak View Post
    Let me know what you think.
    I say keep it simple.

  8. #8
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Forecast with Vlookup

    I know a little trick called offset that I will explain when I publish. I know how many rows down from the first table each of the other tables are and when you select the runway condition, I get that offset and link it back to where the Dry table was in the last file I sent you. This is now the active table and its values match the table on the other sheet.

    I see the remarks you made about the bottom of the table. I will enter this into a table and make it a lookup, so it will work whether the aircraft is about 166T or below.

    I am also adding in runway heading, wind speed and direction so I can compute headwind. I'll have to brush up on my high school trigonometry.

  9. #9
    Registered User
    Join Date
    03-18-2018
    Location
    San Francisco
    MS-Off Ver
    MS 2013
    Posts
    73

    Re: Forecast with Vlookup

    Attached is a update to my file. Take a look at Cells C36:K36 for example. You can see the formulas, some any way, that I have going. I just have a little problem with Cell G36:H36 and Cell J36 in terms of coming up with the formula I need. I think the Forecast and Offset function are the ones that are going to work but not sure.
    Attached Files Attached Files

  10. #10
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Forecast with Vlookup

    I will look at your new workbook. Here is the one I have with XLOOKUP replaced with Index / Match.

    I also added Runway, Wind Speed and Wind Direction to compute headwind. The shaded cells are computed so don't overwrite them.

    I've also compensated for whether the aircraft weight is above or below 66 kt - the weight column will change accrodingly.

    Feel free to play what you can change.
    Attached Files Attached Files

  11. #11
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,719

    Re: Forecast with Vlookup

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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] Help using MATCH INDEX with VLOOKUP and FORECAST
    By ricky-84 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-13-2019, 04:22 PM
  2. Convert 52 Week Rolling Forecast to Monthly Forecast
    By rainintl in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-04-2014, 07:24 PM
  3. Forecast Variance and Percent - need help with hours forecast
    By hoppythyme in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-27-2013, 11:15 AM
  4. Challenging Forecast Wape - Rolling 12 Month Sum Of Orders And Forecast
    By nguyeda in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-17-2013, 06:20 PM
  5. [SOLVED] Vlookup and forecast
    By vijaya in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-18-2005, 04:10 PM
  6. import :Vlookup and forecast
    By vijaya in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-17-2005, 09:50 AM
  7. [SOLVED] [SOLVED] Vlookup and forecast funtions
    By vijaya in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-16-2005, 11:35 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