+ Reply to Thread
Results 1 to 7 of 7

Simple Program for Compiling Data

Hybrid View

  1. #1
    Registered User
    Join Date
    12-10-2011
    Location
    Raleigh
    MS-Off Ver
    Excel 2010
    Posts
    4

    Simple Program for Compiling Data

    Hey,

    I'm new to programming in excel, though I do have some experience in MATLAB and MAPLE (ME grad student). I have a fairly complicated spread sheet for a design optimization project and all I really want to do is create some graphs of a variables (ranging from its bounds, while keeping the other variables constant) versus certain outputs. Since the output formulas depend on 20ish other calculations its not quite as simple as copying and pasting a formula.

    Essentially I want to automatically create a list of output values from a particular cell when another cell (that the first cell depends on) equals a certain array of values. I'm doing this so I can create a graph and see trends in certain outputs as a variable changes value.

    I know this has got to be a simple program, I just have limited time and am sure someone could show me this in like 5 min.

    Any help would be greatly appreciated.

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

    Re: Simple Program for Compiling Data

    Welcome to the forum.

    You want to vary one input variable and see its effect on a single output variable, with some arbitrarily complex calculation in between?
    Last edited by shg; 12-10-2011 at 02:14 PM.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    12-10-2011
    Location
    Raleigh
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Simple Program for Compiling Data

    Thanks, yes that's it, basically creating a loop to vary the input variable and display the output variable in a list.

  4. #4
    Registered User
    Join Date
    12-10-2011
    Location
    Raleigh
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Simple Program for Compiling Data

    Ideally all I really need is a function that would do this: =WHEN(Sheet1!$D$23=Sheet2!B2, DISPLAY=Sheet1!$G$36) but I couldn't find a WHEN function....

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

    Re: Simple Program for Compiling Data

    Excel has a built-in feature called a Data Table (actually, there are 1D and 2D versions). See http://www.homeandlearn.co.uk/excel2...l2007s7p2.html

  6. #6
    Registered User
    Join Date
    12-10-2011
    Location
    Raleigh
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Simple Program for Compiling Data

    Ah exactly what I need, thank you very much for the help and quick response.

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

    Re: Simple Program for Compiling Data

    You're welcome, good luck.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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