+ Reply to Thread
Results 1 to 7 of 7

Charting out all posible combination of multiple ranges

  1. #1
    Registered User
    Join Date
    07-10-2014
    Location
    Toronto, Ontario
    MS-Off Ver
    2013
    Posts
    4

    Charting out all posible combination of multiple ranges

    Good morning everyone,

    I have developed an evaluation algorithm for residential mortgages, and am having difficulty testing. I am trying to ensure that my scoring model makes sense from every possible scenario. The grading model takes into account multiple factors that most financial institutions would find important when assessing a potential borrower for a loan. Examples of these factors could be an individual's credit score (ranging from 0 - 800), the type of dwelling (multiple options to choose from), etc. In total there are about 20 different factors, each with a minimum of 5 possible options to choose from.

    I am trying to create a spreadsheet that lists out all possible combinations of the multiple factors, and trying to input it by hand is a nightmare. To give an example:


    Credit Score Property Dwelling Type Property Value
    100 Townhouse $350,000
    101 Townhouse $350,000
    102 Townhouse $350,000
    103 Townhouse $350,000
    100 Condo $350,000
    101 Condo $350,000
    102 Condo $350,000
    103 Condo $350,000

    Can anyone suggest a function that would make this easier?

    Thanks in advance.

  2. #2
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Charting out all posible combination of multiple ranges

    Is there a reason you need to have them all specifically listed?

    20 options with 5 choices each leads to 5^20 scenarios! That's 5*5*5*5..... 20 times.

    That's 9.53674316406x10^13 options... it would take 90,949,471 excel worksheets list all of those permutations!!!
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

  3. #3
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Charting out all posible combination of multiple ranges

    Seriously though, what are you trying to do with the factors?

  4. #4
    Registered User
    Join Date
    07-10-2014
    Location
    Toronto, Ontario
    MS-Off Ver
    2013
    Posts
    4

    Re: Charting out all posible combination of multiple ranges

    Hi General,

    Thanks for the reply. To answer your question, each factor has a score attached to it, and each factor has a weighting alotted to it. I'm doing doing it through excel for 2 reasons.

    1) I need to see that the scoring model makes sense
    2) I can give the excel file to one of my developers to run it through our WCF service (we offer our grading models through an web portal).

    By doing so, I can get a direct comparison of my scores vs. the web scores. Basically a way to do a QA test on both the model and the service at the same time.

    Is it the best way? probably not, but its the only way I can think of at this point without having to get my guys to build a utility for testing. And the reason for that is that we have some time restrictions to get the model to market.

  5. #5
    Registered User
    Join Date
    07-10-2014
    Location
    Toronto, Ontario
    MS-Off Ver
    2013
    Posts
    4

    Re: Charting out all posible combination of multiple ranges

    Basically at the end of the day, the model will produce a single risk score per loan that financial institutions can use for consistency in their underwriting methods.

  6. #6
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Charting out all posible combination of multiple ranges

    So, are you looking for a way to create an enormous list of possible options in an automated way, or another option so you don't need a list?


    If you are looking to test a model, maybe just pick a million or so scenarios? or, if you want lots of lines, maybe an extremely large text file would work better?
    Last edited by GeneralDisarray; 07-10-2014 at 11:30 AM.

  7. #7
    Registered User
    Join Date
    07-10-2014
    Location
    Toronto, Ontario
    MS-Off Ver
    2013
    Posts
    4

    Re: Charting out all posible combination of multiple ranges

    My initial intention was how to make an enormous list in an automated fashion, but I believe you gave me a much simpler idea. I'm going to create multiple worksheets for each factor and just have the array of ranges for the single factor. I think that would help reduce the lines.

+ 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. Charting multiple dynamic ranges as a single continous series
    By ks26 in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 03-13-2014, 12:30 PM
  2. Help with charting using Named ranges
    By Dial1 in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 05-04-2013, 06:30 AM
  3. Charting only Used Range with Named Ranges
    By cooter24 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-26-2006, 11:10 PM
  4. [SOLVED] Combination chart with three data ranges
    By Joe Mac in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-11-2005, 06:05 PM
  5. [SOLVED] in charting, how do i select data ranges from multiple sheets, sa.
    By michael in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-06-2005, 11:06 AM

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