+ Reply to Thread
Results 1 to 8 of 8

looking for similarty in scheduling of 2 or more vessels

  1. #1
    Registered User
    Join Date
    03-29-2019
    Location
    las vegas, nv
    MS-Off Ver
    excel 2010
    Posts
    4

    looking for similarty in scheduling of 2 or more vessels

    I have a very large 2+ year schedule for vessels that I am working with. I need to find easily if any of them will be in the same areas at the same time. Right now the file is as follows:

    Name of vessel Name of vessel ETC
    Day of the week Date Code Rank Port Arrival Depart Day of the week Date Code Rank Port Arrival Depart ETC

    below has information for each of those vessels

    The names of the vessels are in merged cells at the top

    I need to find a way if on the next tab I can use a formula to cross check the dates that the vessels will be in the same port.

    I know its a bit unusual, but hopefully someone can help.

    Thank you in advance.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: looking for similarty in scheduling of 2 or more vessels

    Too complex for this tired old brain.
    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    03-29-2019
    Location
    las vegas, nv
    MS-Off Ver
    excel 2010
    Posts
    4

    Re: looking for similarty in scheduling of 2 or more vessels

    Thank you for the reply here is a mock book of what I am looking for. I have placed the small index match formula to help me find the port of any ship on a given day.

    The help I really need is for the formula to show me which other ships are in that same port on that same day.

    The mock book has all the "Ship" names and the ports and dates.
    Thank you again.
    I think I uploaded the file. Please let me know if it is not.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: looking for similarty in scheduling of 2 or more vessels

    The following formula in B37 committed as an array formula with CTRL-SHIFT-ENTER does, I think, give you what you want. Copy the formula down col-B as many rows as you need.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I updated your workbook with the above, it is attached below.

    Let me know if this works for you.


    EDIT >>>>>> The above formula and attached workbook have issues. I won't fix these unless there is any interest. This solution, I think, is superseded by ChemistB's solution below.
    Attached Files Attached Files
    Last edited by GeoffW283; 03-29-2019 at 09:01 PM.

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: looking for similarty in scheduling of 2 or more vessels

    Okay, First, I created a list of ports in Sheet2 so I could use them in a drop-down menu (using Data Validation).

    In Sheet3, I have the port we’re interested in, in cell B2, the date in B3
    In C2 copied to the right, I have this ARRAYED Formula


    Formula: copy to clipboard
    Please Login or Register  to view this content.



    ...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.
    Questions?
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-29-2019
    Location
    las vegas, nv
    MS-Off Ver
    excel 2010
    Posts
    4

    Re: looking for similarty in scheduling of 2 or more vessels

    Thank you very much!!!! This is almost exactly what I was looking for. Only issue is it seems when Ship 22 is below ship 4 it will not show ship 4 on the list. Seem like the reference ship has to be on the list above the result ships....Is there anything we can do about that?

    Basically the formula does not look above the reference ship in the row only below.

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: looking for similarty in scheduling of 2 or more vessels

    Updated my spreadsheet (rows 7 and down in sheet3) to use a reference ship to make the list.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    03-29-2019
    Location
    las vegas, nv
    MS-Off Ver
    excel 2010
    Posts
    4

    Re: looking for similarty in scheduling of 2 or more vessels

    Thank you all so much for the help. It works beautifully. I can now see all ships in any port at any date without issues.

    Thank you again.

+ 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. [SOLVED] Scheduling
    By BRISBANEBOB in forum Excel General
    Replies: 6
    Last Post: 09-29-2016, 08:31 PM
  2. Web Scraper Function Vessels data
    By gerarddevries in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-31-2015, 06:35 AM
  3. Scheduling Help!
    By MissSia in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-04-2014, 11:06 AM
  4. Scheduling help
    By balfate73 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-23-2013, 02:39 PM
  5. Scheduling: Calendar style scheduling based on scheduling list
    By denkatprieto in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-19-2012, 11:10 AM
  6. Scheduling Help
    By MastahFez in forum Excel General
    Replies: 3
    Last Post: 12-12-2011, 11:24 PM
  7. Scheduling
    By timjl in forum Excel General
    Replies: 3
    Last Post: 03-09-2010, 12:30 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