+ Reply to Thread
Results 1 to 17 of 17

Analysis - Scenario Manager question

  1. #1
    Forum Contributor
    Join Date
    05-17-2016
    Location
    Montreal
    MS-Off Ver
    2013
    Posts
    115

    Analysis - Scenario Manager question

    Hey y'all!


    I'm kinda stump because I have to project all possible outcomes based on 4 different varriables.

    Excel has data-anaylsis tool but I can't have more than 2 variables (data table).
    Is there a way to do it with 4??

    Thanks for your time
    Last edited by Exequiel3k; 06-09-2016 at 07:50 PM.

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Analysis - Scenario Manager question

    VBA to loop through all the scenarios would be faster, but it appears this is already solved.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Forum Contributor
    Join Date
    05-17-2016
    Location
    Montreal
    MS-Off Ver
    2013
    Posts
    115

    Re: Analysis - Scenario Manager question

    How exactly could I loop through?

    I'm not very good in VBA and tried data-table analysis though I can only input 2 variables.
    Ideally, i'd have to be able to input 4 in all.

    Do you have a working example??

  4. #4
    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: Analysis - Scenario Manager question

    A 1D data table only supports one variable, but that variable can have as many different values as you like, e.g., 0 to 3 by 0.001.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Contributor
    Join Date
    05-17-2016
    Location
    Montreal
    MS-Off Ver
    2013
    Posts
    115

    Re: Analysis - Scenario Manager question

    I've made a test file in order to better understand how to proceed. Is it possible to make it functional so I can see it??

    Thanks a lot for your time

    *i've updated the excel
    Attached Files Attached Files
    Last edited by Exequiel3k; 06-10-2016 at 11:48 AM.

  6. #6
    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: Analysis - Scenario Manager question

    Your initial post said you had one changing variable that needed to assume 3000 values. Now you've edited it to say you need four variables, which puts my response totally out of context.

    So before answering, is this the actual problem, or another warmup exercise?
    Last edited by shg; 06-09-2016 at 08:16 PM.

  7. #7
    Forum Contributor
    Join Date
    05-17-2016
    Location
    Montreal
    MS-Off Ver
    2013
    Posts
    115

    Re: Analysis - Scenario Manager question

    Ive tried to simplify the problem and make it as simple as possible. If I can see the path to solving it then I can move forward with that..

  8. #8
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Analysis - Scenario Manager question

    Are you familiar with Scenario Manager and What-If Analysis?
    http://www.excel-easy.com/data-analy...-analysis.html


    All in you likely dont NEED vba to do what you are asking.

  9. #9
    Forum Contributor
    Join Date
    05-17-2016
    Location
    Montreal
    MS-Off Ver
    2013
    Posts
    115

    Re: Analysis - Scenario Manager question

    I'm aware of Scenario Manager but I have 4 different inputs. I'd have to put in 256 scenarios per sheet for just 4 variables. I was gonna eventually add 3 more variables so that would make things even more complex.

    Also, I can only input 2 variables in Data table..

    Is there a simpler way?? I'm open to avoiding VBA altogether if there is an alternative..
    Last edited by Exequiel3k; 06-10-2016 at 10:13 AM.

  10. #10
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Analysis - Scenario Manager question

    I mean why not just list all the variables and use math to the right of them per row?

  11. #11
    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: Analysis - Scenario Manager question

    You could used the formulas (or VBA) in the workbook at https://app.box.com/s/47b28f19d794b25511be to generate the Cartesian product of the inputs, and then add columns for the formulas:

    B
    C
    D
    E
    F
    G
    H
    2
    E
    wS
    SL
    TP
    3
    4
    1
    1
    0.01
    0.01
    5
    2
    2
    0.02
    0.02
    6
    3
    3
    0.03
    0.03
    7
    4
    4
    0.04
    0.04
    8
    5
    5
    0.05
    0.05
    9
    Formula
    10
    1
    1
    0.01
    0.01
    9849.98
    G10: =10000 - ((100+B10*D10)+(50+C10*E10))
    11
    1
    1
    0.01
    0.02
    12
    1
    1
    0.01
    0.03
    13
    1
    1
    0.01
    0.04
    14
    1
    1
    0.01
    0.05
    15
    1
    1
    0.02
    0.01
    16
    1
    1
    0.02
    0.02
    17
    1
    1
    0.02
    0.03
    18
    1
    1
    0.02
    0.04
    19
    1
    1
    0.02
    0.05
    20
    1
    1
    0.03
    0.01
    21
    1
    1
    0.03
    0.02
    22
    1
    1
    0.03
    0.03

  12. #12
    Forum Contributor
    Join Date
    05-17-2016
    Location
    Montreal
    MS-Off Ver
    2013
    Posts
    115

    Re: Analysis - Scenario Manager question

    Thanks for the replies. The link is broken, do I have to access it via something else than a web-browser?

  13. #13
    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: Analysis - Scenario Manager question

    The link works fine for me. Mike, can you get at it?

  14. #14
    Forum Contributor
    Join Date
    05-17-2016
    Location
    Montreal
    MS-Off Ver
    2013
    Posts
    115

    Re: Analysis - Scenario Manager question

    *Note: maybe my work is blocking the access, I'd have to try it tonight when I get home

    I've thought about it long and hard and there's no way to make it into an equation because all Input change the final result which causes a series of other settings to change within the file. Essentially, it boils back down to the main issue;

    Is there a way/plug-in other then the data-analysis tools (because scenario manager means I'd have to enter over 250+ scenarios & I can't do it in Data-table because I have 4 differents inputs which radically change the end result if I omit any of them).
    Last edited by Exequiel3k; 06-10-2016 at 11:58 AM.

  15. #15
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Analysis - Scenario Manager question

    Yeah I can access it, so I attached it here.

    This is HIS file, I just attached it via the forum.
    Attached Files Attached Files

  16. #16
    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: Analysis - Scenario Manager question

    Mike, thank you.

  17. #17
    Forum Contributor
    Join Date
    05-17-2016
    Location
    Montreal
    MS-Off Ver
    2013
    Posts
    115

    Re: Analysis - Scenario Manager question

    I found a simpler through the Solver (in Data) tool. I had to add the extension and its solved*brumroll

    Thx for your help,

+ 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. Scenario Manager...Need Help
    By habanero02 in forum Excel General
    Replies: 3
    Last Post: 11-14-2012, 11:13 PM
  2. Scenario Manager displays same result for every scenario
    By terihoff in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 11-10-2012, 07:14 PM
  3. scenario manager
    By mehn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-14-2009, 08:55 AM
  4. [SOLVED] scenario manager
    By cinvic in forum Excel General
    Replies: 1
    Last Post: 07-21-2006, 01:20 PM
  5. scenario manager
    By cinvic in forum Excel General
    Replies: 0
    Last Post: 07-21-2006, 12:10 PM
  6. [SOLVED] Scenario Manager
    By Tony0z in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 04-11-2006, 09:35 PM
  7. Scenario manager and IRR
    By PeterW in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-14-2006, 10:04 PM
  8. scenario manager programming question
    By daizy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-30-2005, 12: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