+ Reply to Thread
Results 1 to 7 of 7

Opinions on decision Tree concept in Excel

  1. #1
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Opinions on decision Tree concept in Excel

    Morning all,

    Just wanted to gauge your thoughts on the best way to implement a decision making process in excel.

    Ultimately we have about 100 resolutions depending on what happens at certain points. At each level the options will split and currently there is someone gathering data in the form of a decision tree.

    I have started to think about how to do this through excel in a format where the user will answer questions in an order until they reach the only possible answer. I believe named ranges would be the best practice for this so depending on what they select from the first option would then depict what the options were on the second question and so forth. The issue I can forsee is that it's not going to be a straight line of questioning and something that may need 10 question to reach a resolution could also be resolved earlier depending on the answer to questioning. The chap who is gathering the detail for me is doing so for one example for now but I would like to have a template I can ask him to complete to save my work further down the line.

    I'm going to mock up an example which I'll attach later if required but just wanted some opinions before I invest too much time into it.

    If any of you have any templates you're happy to share that would be great or if you have any experience also I'd love to hear from you.

    Thanks

    Dave
    Last edited by PFDave; 07-28-2016 at 04:13 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,302

    Re: Opinions on decision Tree concept in Excel

    Google: excel dependent drop down list ... as a starter.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Opinions on decision Tree concept in Excel

    Hi TMS,

    Already sorted on that part

  4. #4
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Opinions on decision Tree concept in Excel

    I think it sounds very hard to do in Excel, I think it's probably impossible to do without VBA (well highly improbable anyway) if certain questions branch and loop

  5. #5
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Opinions on decision Tree concept in Excel

    Quote Originally Posted by Kyle123 View Post
    I think it sounds very hard to do in Excel, I think it's probably impossible to do without VBA (well highly improbable anyway) if certain questions branch and loop
    Hi Kyle,

    I was suspecting that this would spiral without VBA, do you have any recommendations on a template for the code, or is it better to wait until I've mocked up a sample and then I could get help to tailor the VBA specific to my requirements?

    Regards

    Dave

  6. #6
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Opinions on decision Tree concept in Excel

    The problem as I see it is that decision trees by their nature are hierarchical, Excel simply does not do hierarchical data without all sorts of nasty hacks - Excel is designed to work with tables of data and struggles with data not in this format (hierarchical, relational etc). - look at the faff of dependant dropdowns

    A decision tree is doubly complicated since not only is it hierarchical, it also loops back to earlier questions - this isn't something that's easy to do.

    If it were me, I'd see if there's another tool for the job, I strongly suspect that this will exist as a fairly low cost web app, that will be much easier to administer, use and save loads of work.

    If you absolutely had to do it in Excel, I think I'd go down the route of a flat table with a key & question in each row, outcomes in columns, where outcomes lead to other rows ( if you want some google foo, it's broadly similar to how one models an organisational structure in a database). I'd then parse this into a hierarchical structure and display it in a dynamic userform where the next step is read from the outcome of the current.

    You may have an easier time of this in access

  7. #7
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Opinions on decision Tree concept in Excel

    Thanks Kyle, in theory this decision tree/process would never loop back it would only ever move forward but I do understand your point. I'll keep having a think about this but will look about at alternatives also.

+ 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 and Multipliers
    By mikebw in forum Excel General
    Replies: 5
    Last Post: 09-15-2014, 01:18 PM
  2. Decision Tree
    By Slosher in forum Excel General
    Replies: 2
    Last Post: 08-29-2014, 09:58 AM
  3. [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
  4. [SOLVED] Decision Tree Add-In?
    By Lon in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-09-2012, 02:58 PM
  5. Decision Tree - Then Vlookup?
    By pruppert in forum Excel General
    Replies: 2
    Last Post: 05-15-2011, 08:12 PM
  6. Decision tree software required
    By Malhar in forum Excel General
    Replies: 2
    Last Post: 12-01-2007, 10:37 PM
  7. making a decision tree using excel!
    By andrew h via OfficeKB.com in forum Excel General
    Replies: 1
    Last Post: 09-07-2005, 03: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