Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Excel model of medium complexity that I'm trying to do some sensitivity analysis on. The ideal would be to have, for each of a set of inputs, run over a range of possible values and store the resulting output values (so maybe changing one input value at a time, but at the next level would be nice to change multiple ones at once).

I know there are plugins for this - seems pretty sweet - but I rebel at spending $1000 for what is a conceptually simple issue. For now I am following the manual algorithm of change-the-value, see-the-new-value, copy-paste, repeat. Which sucks.

Do folks have recommended tips/techniques/macros for how to automate this process?

share|improve this question
Are you using Excel's Solver add-in? – Mehper C. Palavuzlar Oct 27 '11 at 17:17
Not a tip for automation, but in the past I've found Excel's What-If Analysis feature very useful for this kind of analysis.… – Excellll Oct 27 '11 at 17:34

Solver (and Goalseek) is for optimising a situation where variables need to be flexed to produce a given constraint (ie maximise value, minimise cost, solve for a particular number).

Your problem is a more straightfoward sensitivity analysis.

Data Tables are a simple way to flex inputs through a model for simultaneous outputs, 1 way (1 changing variable) and 2 way tables (flexing a table of paired row and column inputs) can be added easily.


This will probably suffice for you.

More advanced data tables with 3 or more inputs

If you want to run scenarios changing 3 or more variables, then you can workaround the 2 way table limit by defining cases 1-10 in the data table, where a selection of 1 may drive a certain combination for variables A,B, C & D, a selection of 2 drives a different combination etc.

The picture below does this. The cell in D10 picks the variables from D14:18 to run through the calculator in D3:D8.

The basic calculator is Cash = Volume * (Revenue-Cost-O/H)-(1* Tax Rate).

The Data Table in C23:D28 shows the output from the 5 scenarios simultaneously (ie 56 for scenario 1, 80 for scenario 2 etc).

enter image description here

share|improve this answer

I have programmed a little Excel Add-In macro, which allows you to put sensitivity analysis on one, two, three, and up to twenty input cells in your spreadsheet and at the same time observe one or multiple output cells for their reaction on the input variations. You can either chose to have those input cells varied one at a time ("single Sensitivity") or in all combinations of the varied inputs ("multiple Sensitivity"). The add-in is free for commercial or private use and can be found at:

I hope this little tool does exactly what you had been asking for and is freeware.

Would be nice to hear, whether this is what you have been searching for.

share|improve this answer

There's a couple of ways you can do sensitivity analysis on Excel. You can use data tables or the scenario manager. It depends on the number of variables you want to change in the analysis and what sort of output you'd like. Check out the following posts to learn more about both the methods.

Hope this helps.

share|improve this answer
up vote 0 down vote accepted

I've found that Oracle's Crystal Ball, while not cheap, does exactly what I want.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .