+ Reply to Thread
Results 1 to 6 of 6

Decision Tree and Multipliers

  1. #1
    Registered User
    Join Date
    02-12-2012
    Location
    Boston, MA
    MS-Off Ver
    Excel 2010
    Posts
    15

    Decision Tree and Multipliers

    I’m generating a spreadsheet to help with service pricing. I would like to make categories and sub-questions for each specific category (some questions only apply to some answers). For each answer, I would also like to store a price modifier.


    For simplicity, let’s say I want to paint. My initial fee is 100.
    First I might ask: Interior or Exterior?
    If it’s interior, I might increase my initial fee by 10%.
    Then, if Interior, I might ask the total square footage of rooms (less than 500 ft^2? 500 – 1000 ft^2? 1000 – 10000 ft^2?).
    If it’s <500 ft^2, I might add 20%.
    I might then ask if there are windows in the room (because I won’t need to paint that section).
    Subtract 10%.
    Then I might ask if there’s wallpaper.
    Add 5%.
    Then I might ask if the wallpaper is before 1940.
    Etc……


    Unfortunately, the questions are different depending on which decision path you take. Some questions apply to 90% of the paths, and some questions apply to only a few.

    8 categories, 8 questions deep, with 8 options per question gets unmanageable pretty quickly.

    Does anyone have any suggestions for implementation?

    At first I made many excel worksheets within one workbook. The various answer categories were all hyperlinked to the next worksheet of questions for that specific path. This became unmanageable very quickly.

    Now I’m thinking something more like a master sheet and a pivot table making expanding and shrinking sections easier, but I'd love to hear any suggestions first.

    I also wonder if there isn’t a tool that I’m not familiar with that might be much better suited for this.

    Thanks for any suggestions you might have,
    Mike

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Decision Tree and Multipliers

    Maybe something like....
    See yellow cells. Using Data Validation lists for dropdown boxes.

    options.xlsx
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  3. #3
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Decision Tree and Multipliers

    Doublepost, oops.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-12-2012
    Location
    Boston, MA
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Decision Tree and Multipliers

    Speshul, that looks great, thanks! Do you think there's a way to limit the drop-down boxes conditionally so that the previous 'answers' influence the remaining options? Many answers/questions won't be appropriate based on the previous answers and the drop-down list would grow very very quickly.

    Thanks again,
    Mike

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Decision Tree and Multipliers

    Write out your problem on a large sheet of paper and have it organized like an ORGANIZATION chart. Wherever on the chart a list of options is required, write out the list and if there are choices associated with those options, write them off to the side of each option. Draw boxes or colour the lists so that they stand out. In your Excel workbook, you will dedicate a worksheet for all the lists that you require.

    Now, looking at your chart, will one worksheet with questions satisfy both interior and exterior jobs. Layout the order of the questions and answers as you would like them to appear. If you require only one worksheet then you will be ready to start building your Excel workbook. If you require two worksheets repeat the question and answer layout for the second worksheet until you are satisfied with the result.

    Now, start to build your worksheets by typing in the questions and placing them according to your planned layout leaving space for the answers. Create all the lists that you have identified (on a worksheet for lists). When you have that done, it is time to write the formulae required to bring in the data from your lists required to answer the questions posed and to make the calculations according to the answers.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  6. #6
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Decision Tree and Multipliers

    Quote Originally Posted by mikebw View Post
    Speshul, that looks great, thanks! Do you think there's a way to limit the drop-down boxes conditionally so that the previous 'answers' influence the remaining options? Many answers/questions won't be appropriate based on the previous answers and the drop-down list would grow very very quickly.

    Thanks again,
    Mike
    Yes, in a way. It will be ahrd to set up for all of your data but once set up it should be easy to maintain.

    I would look into named ranges if you do it this way, it will be very complicated to set to if you have 8^3 possible combinations... Named Ranges will make writing formulas significantly easier and more intuitive for this type of application.

    See the attached for an example of one way to do it. Changing Selection in B14 will adjust the possible Category values.


    options3.xlsx

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Decision Tree
    By Slosher in forum Excel General
    Replies: 2
    Last Post: 08-29-2014, 09:58 AM
  2. [SOLVED] Does Excel contain a decision tree analysis?
    By DrankPA6 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-10-2012, 03:08 AM
  3. [SOLVED] Decision Tree Add-In?
    By Lon in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-09-2012, 02:58 PM
  4. Decision Tree - Then Vlookup?
    By pruppert in forum Excel General
    Replies: 2
    Last Post: 05-15-2011, 08:12 PM
  5. Decision Tree Template or Plug In
    By Holly OK in forum Excel General
    Replies: 2
    Last Post: 07-19-2005, 08:05 PM

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