Scenario analysis for freaks - 13 silly options

Blog

Blog

Blog

Blog

all posts

tags

Scenario analysis for freaks - 13 silly options

by Rickard Warnelid on May 13 2009

There are lots of different ways of building a solid scenario manager for efficient scenario analysis, and some are better than others. Most people would agree that the OFFSET is the most common Excel function for this purpose, followed by LOOKUP and INDEX, but every now I see a new creative, or silly, way of solving this rather simple problem by using obscure Excel functionality.

Excel workbook with 13 different ways of creating a Scenario Manager

excelI have put together an Excel workbook with different ways of creating a Scenario Manager - i.e. to pick up the relevant value based on the selected scenario. My standard way of doing this is with an OFFSET as I like that you can expand the range of scenarios without having to re-code the function. From a transparency point of view though I would say that using LOOKUP would make the most sense.

13 Ways to create a Scenario Manager in Excel

Which Excel functions are acceptable from a best-practice point of view?

My preferences (not just from a financial model audit point of view but also as a user/builder of models) are OFFSET, LOOKUP and INDEX.

The worst offenders are definitely

  • SUM (array)
  • Nested IF (I can’t believe people still do this..)
  • Choose (very old-school)
  • MMULT (over-engineering to the n:th degree)
  • ‘+’ (Although there are not complex Excel functions, it still gets very messy and hard to update)
  • INDIRECT (I have never seen this one in practice, and I really hope it stays that way…)
  • PRODUCT (array) (again, over-complication a simple problem)

List of all 13 solutions in Excel

All 13 solutions are listed below (and in this

Excel Workbook: “Scenario analysis for freaks - 13 silly options”). The cell references in the list below will probably make more sense once you have had a look at the workbook.

  • =OFFSET($F9,0,$D$7-1)
  • =SUMIF($F$7:$J$7,$D$7,$F11:$J11)
  • =SUMPRODUCT(($F$7:$J$7=$D$7)*1,$F12:$J12)
  • ={SUM(($F$7:$J$7=$D$7)*$F13:$J13)}
  • =LOOKUP($D$7,$F$7:$J$7,$F14:$J14)
  • =IF($D$7=$F$7,F15,IF($D$7=$G$7,G15,IF($D$7=$H$7,H15,IF($D$7=$I$7,I15,IF($D$7=$J$7,J15,”N/A”)))))
  • =CHOOSE($D$7,F16,G16,H16,I16,J16)
  • ={MMULT((D$7=$F$7:$J$7)*1,TRANSPOSE($F$17:$J$17))}
  • =($D$7=$F$7)*F18+($D$7=$G$7)*G18+($D$7=$H$7)*H18+($D$7=$I$7)*I18+($D$7=$J$7)*J18
  • =INDEX($F19:$J19,0,D7)
  • =INDEX($F20:$J20,0,MATCH($D$7,$F$7:$J$7))
  • =INDIRECT(CHAR(96+COLUMN(F$21)+$D$7-1)&ROW())
  • ={PRODUCT(IF($F$7:$J$7=D7,$F22:$J22,1))}

I know that offset is a controversial topic, so it would be interesting to hear other people’s views on how to best construct a scenario manager. Feel free to email me a file with your preferred approach (or more ways of how NOT to do it) and I will post it on the blog.

COMMENTS

Post new comment

The content of this field is kept private and will not be shown publicly.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.

Need a financial model audit?

Need a financial model audit?

Do you want to find our more about our financial model audit services??

Read more about Corality

Upcoming Courses

Best Practice Project Finance Modelling
Sydney
30 May - 31 May 2012
Best Practice Project Finance Modelling
London
11 June - 12 June 2012
Advanced Project Finance Modelling
London
13 June - 14 June 2012

Bloggers

Laura Dean

Laura Dean

Laura is our creative and motivated Marketing Coordinator.

Rickard Warnelid

Rickard Warnelid

Rickard Warnelid is the Managing Director of Corality Financial Group.

Peter Weatherston

Peter Weatherston

Peter is a UK qualified accountant with 10+ years experience in financial modelling and financial model auditing.

Bing Chien Quek

Bing Chien Quek

Bing is Corality's in-house VBA expert. He has worked on numerous projects as well as facilitated VBA training courses internationally.

Caroline Wiroth

Caroline Wiroth

Caroline has over 8 years of experience in marketing and Public Relations.

Tim Heng

Tim Heng

Tim has a wide range of experience in analytics and modelling across a number of different industry sectors (corporate banking, vehicle finance, credit risk and marketing analytics).

Blake McNaughton

Blake McNaughton

Blake McNaughton is an Associate based in Corality’s Head Office in Sydney, Australia.

Haydn Palliser

Haydn Palliser

Haydn is an Associate at Corality with a wealth of experience in structured finance, consulting and is a chartered professional engineer.

Cathryn Fish

Cathryn Fish

Cathryn is our energetic and super organised Training Experience Manager.

Nick Crawley

Nick Crawley

Nick Crawley is the Chairman and Head of Consulting of Corality Financial Group.

Grace Utama

Grace Utama

Grace Utama is a financial modelling expert, with particular expertise in advanced Excel techniques and VBA Macros.

Have a question or comment? We would love to hear from you. More contact options

We respect your email privacy.

Sitemap | Terms | Privacy © Copyright 2012 Corality Financial Group