+ Reply to Thread
Results 1 to 2 of 2

Returning the highest value from all permutations of 6 citys

  1. #1
    Registered User
    Join Date
    12-16-2015
    Location
    Qatar
    MS-Off Ver
    2010
    Posts
    4

    Returning the highest value from all permutations of 6 citys

    Hello excel Forum people!

    I have to find a way to calculate the most number of customers that I can visit in 6 different cities. I have all the permutations of these cities. The issue is that customers are not all available on every day. I have the list of which day each customer is available. I have 1 day in each city over 2 weeks. How can I go about optimizing my flights to visit the most number of customers?

    I have included the sheet. Any help would be HUGELY appreciated!!!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,556

    Re: Returning the highest value from all permutations of 6 citys

    This proposed solution employs six helper columns (AI:AN) which may be moved and/or hidden for aesthetic purposes.
    The helper columns are populated using*:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    *Denotes an array entered formula which needs to be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Column AO is populated using: =SUM(AI5:AN5)
    The MAX number of customers that may be visited is displayed in cell AB62 using: =MAX(AO5:AO724)
    The permutations that produce the max number of customers that may be visited are highlighted in yellow (i.e. columns AC:AO in rows 143, 176, 177 ...).
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Returning The 5 Name of the highest 5 value field
    By Biplab1985 in forum Excel General
    Replies: 3
    Last Post: 10-25-2016, 02:25 PM
  2. Returning Highest Value in Countif
    By riff100 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-20-2015, 05:48 PM
  3. [SOLVED] Show the first digit of a citys population,when city starts from Δ.Δ or Κ.Δ
    By Dinos.fa in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 05-15-2013, 02:26 PM
  4. Returning next highest value from =small(if.....)
    By MARKSTRO in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-02-2012, 05:12 PM
  5. [SOLVED] Returning the 5 highest values in a row.
    By LucG in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-24-2012, 02:36 PM
  6. Excel 2007 : Returning the highest value in a range
    By JohnJC in forum Excel General
    Replies: 3
    Last Post: 10-01-2010, 08:45 AM
  7. Returning highest value
    By Fishbone in forum Excel General
    Replies: 7
    Last Post: 08-12-2005, 10:05 AM

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.6.0 RC 1