+ Reply to Thread
Results 1 to 3 of 3

How to generate all possible combinations of nine cities

  1. #1
    Registered User
    Join Date
    06-05-2014
    Posts
    7

    How to generate all possible combinations of nine cities

    Hi everyone.

    I only have a very very basic knowledge of Excel so I hope I make enough sense.

    I need to make a list of all possible combinations of nine cities as shown in the following example.

    My input is: New York, Miami, London, Paris, Madrid, Berlin, Rome, Moscow, Tokyo

    For Example my ideal Output would be:

    Tokyo
    London

    .............................................................................

    Berlin, Madrid
    Miami, Moscow

    ..............................................................................


    London, Paris, New York
    Rome, Moscow, Miami

    ..............................................................................

    Up to

    New York, Miami, London, Paris, Madrid, Berlin, Rome, Moscow, Tokyo

    ..............................................................................

    How can I create such list ?

    Thanks and Regards

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to generate all possible combinations of nine cities

    Still waiting for your feedback here..
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    06-05-2014
    Posts
    7

    Re: How to generate all possible combinations of nine cities

    Hi Foti,

    Apologies for not getting back to you earlier.

    Yes the alphabetic order works perfectly. Thanks for all the help.

    Any ideas about this problem ?

    Regards

+ 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. how to generate combinations in excel
    By harleydats in forum Excel General
    Replies: 5
    Last Post: 03-07-2015, 06:29 AM
  2. Macros to generate all possible combinations
    By Nnamdi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-25-2012, 07:41 AM
  3. Generate combinations
    By cjt_choccy in forum Excel General
    Replies: 6
    Last Post: 11-20-2011, 02:51 PM
  4. Generate list of possible combinations
    By Pat Parker in forum Excel General
    Replies: 2
    Last Post: 03-14-2010, 03:34 PM
  5. Generate table of combinations
    By Gary's Student in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-02-2005, 07: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