+ Reply to Thread
Results 1 to 5 of 5

Calculating Popular Combinations

  1. #1
    Registered User
    Join Date
    12-01-2021
    Location
    London, ENgland
    MS-Off Ver
    MS Office Mac
    Posts
    3

    Calculating Popular Combinations

    Hi guys,

    I am new to the forum and looking for some help calculating popular routes of itineraries.

    I want to determine which routes in a travel itinerary are most commonly put together.

    There are multiple ItineraryID and each one will have multiple Locations. For example, the below data would display the table below it.

    Itinerary Code / Location
    101 /Thailand
    101 /Cambodia
    101 /Vietnam
    102 /Vietnam
    103 /Tanzania
    103 /Cambodia
    104 /Cambodia
    104 /Thailand
    104 /Vietnam
    105 /Thailand
    105 /Vietnam
    106 /Vietnam


    To display:

    Combination Count

    Vietnam / 2
    Tanzania + Cambodia / 1
    Cambodia+Thailand+Vietnam / 1
    Thailand + Cambodia + Vietnam / 1
    Thailand+Vietnam / 1

    Total Count should equal Total Itineraries.

    Any help would be much appreciated!
    Attached Files Attached Files
    Last edited by harryp; 12-02-2021 at 05:02 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Calculating Popular Combinations

    We can not see what is in which cells. Is 101/Thailand all one cell, for example.

    Please read the yellow banner (top) and post a sample sheet.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    12-01-2021
    Location
    London, ENgland
    MS-Off Ver
    MS Office Mac
    Posts
    3

    Re: Calculating Popular Combinations

    Hey Glenn, thanks for super quick reply I have added the sheet on the original post.

  4. #4
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Calculating Popular Combinations

    Not elegant and Im sure Glenn will come up with something more elegant

    column D just concatenates the values
    Column E finds the last value of the itinerary code (you only want the last value for your results

    the pivot shows the count of each order and filters for the 1 in column E
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-01-2021
    Location
    London, ENgland
    MS-Off Ver
    MS Office Mac
    Posts
    3

    Re: Calculating Popular Combinations

    Thank you so much for doing that. It works perfectly and just 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)

Similar Threads

  1. Replies: 8
    Last Post: 02-09-2016, 10:10 AM
  2. deleted post
    By joemac92 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-10-2015, 12:19 AM
  3. Calculating totals of combinations of items
    By kevmac27 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-20-2015, 07:57 AM
  4. Help calculating frequency of order combinations
    By LukeG11 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-20-2013, 10:23 AM
  5. [SOLVED] Help Required: Stock lists - Calculating combinations of products
    By MaD2ko0l in forum Excel General
    Replies: 12
    Last Post: 05-12-2013, 10:47 AM
  6. Find top 5 most popular
    By fwhite in forum Excel General
    Replies: 9
    Last Post: 11-15-2010, 02:47 PM
  7. calculating combinations
    By stewart08 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-02-2010, 02:20 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