Solved

# What if scenarios - Excel

Posted on 2014-02-13
254 Views
I have data broken into deciles and need some mathematical formula to allow users to play around with scenarios like, “How many days do I need to shave off in decile 10 to achieve threshold/max/target?”
I created a manual shave of days, but want to create something that users can interactively play with. *See atached spreadsheet
Thanks.
Deal-Split.xlsx
0
Question by:saved4use
• 2

LVL 76

Expert Comment

ID: 39857128
I think that we need a bit more explanation as to the requirements.

In my dictionary (Chambers Twentieth Century, so it might be too out-of-date) there is nothing between 'decigramme' and 'decilitre', so I will have to do more research to find out the meaning of the word 'decile'.

However, it might not help to know that.  I doubt that it will help to explain the mathematical relationships between the values in the cells of the first block and there are no formulae there to give a clue.
0

LVL 76

Expert Comment

ID: 39857211
The definition from here:
http://www.thefreedictionary.com/decile
is:

decile ('d¿s¿l; -a¿l)
n
1. (Statistics) statistics
a. one of nine actual or notional values of a variable dividing its distribution into ten groups with equal frequencies: the ninth decile is the value below which 90% of the population lie. See also percentile
b. a tenth part of a distribution
[C17: from deca- + -ile]

Collins English Dictionary – Complete and Unabridged © HarperCollins Publishers 1991, 1994, 1998, 2000, 2003
0

LVL 22

Accepted Solution

Flyster earned 500 total points
ID: 39874314
Please see attached and let me know if this is what you're looking for. It uses a simple IF statement for each threshold. In J16, for days 6, threshold(20), the formula is:

=IF(L2=I2,"",I2-L2)

Basically the formula looks at the days in I2 and L2. If they're the same then the cell remains blank, If not, it shows the difference between the two.

Flyster
Deal-Split.xlsx
0

## Featured Post

Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! https://www.google.com/about/careers/students/guide-to-technical-development.html How to Know You are Making a Difference at EE In August, 2013, one …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…