**Fun Downloads**page implement my Easy One Way Sensitivity Analysis method. Here’s a pic of one of those dashboards:

Above, you can use the scroll bars to change the weights for each given metric. As you change one weight, the others change proportionally, just as you would expect with one-way sensitivity analysis. In Part 1, I discuss how to build the structure that drives this functionality. In Part 2, I’ll discuss how to put it on your dashboard.

Below I begin with a review of sensitivity analysis and weighted-sum models. If you’d like, you can skip the review and go right to the instructions, here.

**Review**

The title of this article may seem like a mouthful, but don’t let the technical words fool you. It’s likely you’ve seen this stuff before.

Imagine, for a moment, you are evaluating the healthcare systems of different nations. After considerable research and many hours with healthcare experts, you decide there are five key criteria you will use to evaluate each nation’s system. They are:

Health level –a measure on the overall health of a country

Health distribution –a measure of how equally healthcare resources (above) are distributed across the country

Responsiveness –a measure of the speed of health services, doctor’s choice, amenities, etc.

Responsiveness distribution –a measure of how equally healthcare responsiveness (above) is allocated across the country

Financial fairness –a measure of how citizens in each country “fairly” distribute the financial burden of the healthcare system

Not every metric is equal, however. And, after some careful thought, you decide that each criterion should be weighted by a proportion of its importance to the overall performance of each system. The weights are as follows:

This model may not look familiar, but, in fact, it’s the very same criteria and weights used in the landmark World Health Organization study, *World Health Report 2000: Health Systems, Improving Performance*, which assigned a rank to 191 different countries based on the performance of their healthcare systems. Indeed, this model is used in many published rankings. It works like this: you define the key metrics about the subject you want to investigate and assign each a weight. You then collect data about each metric resulting in an overall score for that metric. For example, you could collect surveys from healthcare professionals ranking their healthcare networks on a scale from 1 to 10 and then average the results (I’m simplifying a bit). Finally, you would multiply each metric by its associated weight then sum those products together to come up with an overall score. If you understand me so far, then you get the weighted-sum model.

In the published rankings above, the weighted sum model is used to evaluate *many different* *countries*. Broadly, you’re simply investigating a resultant list of *alternatives* whose *scores* follow directly from the *importance* of each *input* defined in the first step. As such, you may want to investigate how changing the importance of inputs impacts the overall score. This is called *sensitivity analysis.*

**One-Way Sensitivity Analysis**

One simple, if powerful, sensitivity analysis method is to vary only one weight at a time while maintaining the proportional importance of the other weights. This is called *one-way sensitivity analysis* and it works like this:

Say I want to test what happens if I increase Health Level by 4%. First, lets divide the weights into two theoretical groups,

**The rule here is that each group must always sum to 100%.** So, if we add 4% to Health Level, we have to subtract it from the other group.

Now that the overall sum of the “other group” has changed, the weights that make up that group are adjusted while maintaining the same proportion to the group’s sum as they did before. First we find the proportion…

Finally,

…our weights again add up to 100.0%

**Easy One-Way Sensitivity Analysis in Excel**

The above method may appear daunting, but we can make Excel do most of the work for us. I call my “easy” because it’s both straight-forward and requires no VBA to implement. However, it has some limitations that will become clear by the end. **Step 1 – Set up your calculations table**

This is how I set up my calculations tab tab:

Note that I have my weights listed on the left side. I’m given some space between my weights and my score table. Note, too, that I have all the multiplication set up. You’ll likely want a similar layout. Of course, to save some time, you can download the workbook above with the layout already set up (use the Example tab).

**Step 2 – Insert Form Control Scroll Bars, One for Each Weight **

Go to the Developer tab. Select Insert > Form Control Scroll bar. (If you don’t see the Developer tab on your Excel screen, you’ll need to enable it.)

**Step 3 – Link each Scroll Bar**

Insert a new column between columns B and C. Put a new heading in the new column titled “Linked Weight.” We want to link each scroll bar to a metric so that we can use the scroll bars to change the weights. To link a scroll bar to a value on a sheet, right click on the left-most scroll bar and select Format Control. In the **Cell link** field, select the cell that will hold the current value of the scroll bar. You will also need to set **Minimum Value** to 1.

From the left-most scroll bar to the right, you’ll want to link them to cells starting C3 all the way down to C7. Once the cells have been linked, go ahead and click the down arrows on each scroll bar. You should see the values change as you scroll down. This will also allow you to double-check that each scroll bar is associated with the correct cell.

**Step 4 – Adjust Each Value**

We have a small problem: the scroll bars increase their cell’s values when scrolling down. While there’s nothing wrong with that per se, it’s counter intuitive to how we think. For our purposes, we’d like the action of scrolling up to actually increase the resulting value and scrolling down to decrease. So we need to adjust the values on the spreadsheet to reflect this preference.

Insert another column between C and D. Name it “Adjusted Weights.” In each cell next to the Linked Weights, you will take the cell to its left and subtract 100 (the max value of the scroll bar). You can do this with a formula like the one shown below.

Play around with the scroll bars. Note that the adjusted weights now increase and decrease intuitively.

**Step 5 – Sum and Define Proportions**

At the bottom of the Adjusted Weight column, add a SUM cell.

Now you will overwrite the values in your Final Weights column. For each cell in Final Weight, you will divide the cell to its left (in the Adjusted Weight column) by the total sum you’ve just calculated. Use the formula below as a guide.

At this point you’re finished with Part 1. If you play around with the scroll bars, you will see that you can change the weight of one criteria at a time, while maintaining the proportionality of the others. The final scores update automatically! The scroll bars also adjust the location of the selector (that little gray bar) accordingly.

**Limitations**

As you may have already noticed, the scroll bars appear to have a limit. (Scroll one of them to its maximum value to see what I mean.) For some applications, this limitation isn’t a real problem; but you may create a model where the “easy” method is not useful. Additionally, because we use formulas to derive the final weights, you can’t type a desired weight into the Final Weights column without breaking part of the scroll bar mechanism. (But you can fix this problem with some VBA.)

In Part 2, we’ll talk about putting this structure into a dashboard layout.

**Download the file**

One Way Sensitivity Analysis.xlsx