+ Reply to Thread
Results 1 to 4 of 4

scheduling problem

  1. #1
    Registered User
    Join Date
    12-10-2020
    Location
    Ipswich Qld Australia
    MS-Off Ver
    MS365
    Posts
    4

    scheduling problem

    Hi folks;
    I have been grappling cwith this for months but cant work it out.
    I have about 70 sites, listed by name, address and phone number, that I have to visit either monthly, two or three monthly, or six monthly. I need to automatically calculate a list for each month based on the visiting frequency. If I miss a month, the visit comes due the following month and each visit thereafter needs to be recalculated to reflect the change, based on the visiting frequency.
    I have attached an excel sheet to show you what I mean. Each month needs to be on a separate page and the 'last visit' is the determinant of which page the subsequent visits should show on.
    Can anyone help?
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365 Version 2501 64-bit
    Posts
    1,465

    Re: scheduling problem

    Attached shows the forward schedule, but requires the additional Record Number field in Col A.

    Date span is set by H1, which is set as "today"", but you can change it to whatever you want (dd/mm/yy). The subsequent dates link to it automatically.

    Enter in Col F the monthly cycle you want, and the last Visit date in Col G. Formula pastes Client name in the months the frequency determines,

    Formula in H2 copied across and down:

    =IFERROR(IF(IF(H$1>=$G2,(MOD(DATEDIF($G2,H$1,"m")+$F2,$F2)=0)*$A2,0)=$A2,$B2,""),"")

    (If the Date in row 1 is on or after the last Visit date in Col G, enter the Name matching the Record Number in every column matching the Frequency. If there is no Start Date or Frequency, cell is blank)

    Change the frequency or the Latest visit date, and the names now appear in the "new" months.

    You can then use whatever approach you want to extract or filter the entries listed for each month in Cols H - AE, and copying them to the relevant Month worksheet,

    Hope this helps

    Ochimus
    Attached Files Attached Files
    Last edited by Ochimus; 12-10-2020 at 09:57 AM.

  3. #3
    Registered User
    Join Date
    12-10-2020
    Location
    Ipswich Qld Australia
    MS-Off Ver
    MS365
    Posts
    4

    Re: scheduling problem

    Hi Ochimus;
    Thank you so much for that! I am suitably humbled; have grappled for months and learned a lot about excel, though obviously not enough.
    If I can be so bold, however, how can I compile the list of the name, street, suburb and phone number on the separate pages of each month? I have thought of using the 'if' function, so that if the column on a month is not blank, it transfers the contents of the columns name, street, suburb phone number to the month page, but havent been able to crack it?
    kind regards, StJohn

  4. #4
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365 Version 2501 64-bit
    Posts
    1,465

    Re: scheduling problem

    StJohn,

    Glad you found the formula useful. As for the grappling, it only gets worse. I started using Excel back in '93 when they launched V5, and am still amazed at what the real experts on this and similar sites get the program to do!

    Have to ask whether you really need a separate worksheet for each month?,

    If you do, you will either have to change the tab format to include the year, generating twelve new ones every year, or have your "January" sheet listing visits from Jan 19, Jan 20 and Jan 21.

    If you want to keep the separate sheets, the simplest method is to "filter" row 1, and go through each Column in turn omitting Blanks, copy the "visible" rows in the Contact columns, then paste them into the relevant Month worksheet.

    You can "automate" the process with a formula, there are several posts on here around the topic "Extract rows that match criteria in one column".

    Or you can automate it using a Macro that "cycles" through each column in turn, copying the contact details from each row that has a name in that month's column and pasting it into the relevant worksheet.

    If you don't need separate sheets, though, you can have either a User Form or a single worksheet where you select the month from a DropList, and it extracts the contact details from the Database.

    Hope that points in right direction.

    Ochimus
    Last edited by Ochimus; 12-10-2020 at 08:09 PM.

+ 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. Problem adding hours/time in scheduling sheet
    By Schoennn in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 04-29-2015, 11:36 PM
  2. 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
  3. Time scheduling problem
    By jtucker in forum Excel General
    Replies: 1
    Last Post: 09-02-2009, 06:57 AM
  4. Problem in Scheduling Sheet
    By Rajnishbhatt in forum Excel General
    Replies: 5
    Last Post: 01-09-2009, 05:05 AM
  5. Scheduling
    By Lghtning4u in forum Excel General
    Replies: 1
    Last Post: 03-20-2008, 01:43 PM
  6. Scheduling
    By jose.rodriguez in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-10-2006, 06:50 PM
  7. Calculating dates - complex scheduling problem
    By jct in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-22-2006, 04:10 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