+ Reply to Thread
Results 1 to 3 of 3

list results of a combination

  1. #1
    Registered User
    Join Date
    02-22-2010
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    7

    Question list results of a combination

    I have 5 columns that I want to include in a combination. In the 1st, 3rd, 4th, and 5th columns, I only want 1 option to be chosen. In the 2nd column, I would like 3 items to be chosen. I need the corresponding numbers to be added up.
    Example: (I've attached a spreadsheet)

    (Hazard) Wildfire 25

    (Disruption) Water 15
    (Disruption) Food 7
    (Disruption) Transporation 6

    (Loss of Life) 10-19 20

    (Property Loss )20-29% 30

    (Duration) 10-69 20

    The total of this combination is 123.

    Is there VBA code that would list all the combinations possible as well as add up their totals?

    Thanks in advance!
    Amy

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: list results of a combination

    Welcome to teh forum.

    Drag the formulas down 23,000 rows.
    Attached Files Attached Files
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    02-22-2010
    Location
    Colorado
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: list results of a combination

    Thank you so much! This is exactly what I needed!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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