+ Reply to Thread
Results 1 to 3 of 3

Thread: Combinations of 4 variables with 3 values each

  1. #1
    Registered User
    Join Date
    09-20-2010
    Location
    Davis, Calif.
    MS-Off Ver
    Excel 2007
    Posts
    2

    Combinations of 4 variables with 3 values each

    Hi, I'm pretty new to Excel and am trying to find a way to automatically generate all possible combinations (order not important) of 4 variables (A, B, C, D) with 3 values (1, 2, 3) each.

    So there are only 12 possible variable+values:

    A1, A2, A3, B1, B2, B3, C1, C2, C3, D1, D2, D3


    Each combination must have one instance of each variable.

    For example:

    A1, B2, C3, D1
    A2, B3, C1, D3

    I think there are 81 different combinations, and I want to put them in 81 rows and then drag a formula down the next column to apply to each row.

    Thanks in advance for any help....
    Last edited by ponjovi; 09-20-2010 at 12:45 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    6,202

    Re: Combinations of 4 variables with 3 values each

    Here, see this:
    Attached Files Attached Files
    "Relax. What is mind? No matter. What is matter? Never mind!"

  3. #3
    Registered User
    Join Date
    09-20-2010
    Location
    Davis, Calif.
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Combinations of 4 variables with 3 values each

    zbor, just what I needed, thanks!

    I don't understand the formula off the bat, but I will see if I can try to learn what you did.
    Last edited by ponjovi; 09-20-2010 at 10:00 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0