+ Reply to Thread
Results 1 to 2 of 2

Creating a table with all combinations

  1. #1
    Registered User
    Join Date
    04-06-2007
    Posts
    1

    Creating a table with all combinations

    Hi,

    I have the following dilemma. I have to make multiple tables with many columns and if I were to type in the data manually it would take me a few weeks. But if I could somehow specify the number of columns(and the number of choices in each column) and then have Excel(or Access) create a table with all the possible combinations it would make my job a LOT easier. For example, let's say I have department stores in multiple cities. I need to create the following table:

    CITY DEPT CLOTHING

    San Jose Men's Shirts
    San Jose Men's Pants
    San Jose Men's Shoes
    San Jose Women's Shirts
    San Jose Women's Pants
    San Jose Women's Shoes
    Los Angeles Men's Shirts
    Los Angeles Men's Pants
    Los Angeles Men's Shoes
    Los Angeles Women's Shirts
    Los Angeles Women's Pants
    Los Angeles Women's Shoes

    Instead of typing that out manually, is it possible to create some sort of list like:

    Cities: San Jose, Los Angeles
    Dept: Men's, Women's
    Clothing: Shirts, Pants, Shoes

    And have Excel or Access create the table with all of the possible combinations?

    Thanks for your time.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482
    Check out thi example

    http://www.excelforum.com/attachment...9&d=1162735862

+ 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