+ Reply to Thread
Results 1 to 9 of 9

Maintenance planning

  1. #1
    Registered User
    Join Date
    03-29-2010
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    4

    Maintenance planning

    Hello,

    I am trying to do a sheet which plots the month of each maintenance depending on its next date and the frequency. I cant seem to get my head around it!!

    Can anybody help? basically I need a 1 in each of the month the maintenance will hit yearly.
    so if the job was for march and the freq is 4 then i need a 1 in mar, jun, sep, dec and the rest will be 0.

    Any help will be appreciated, thanks in advance!

    Kong.
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Maintenance planning

    Can you explain the logic behind your example ?

    Surely if freq. was 4 and first instance was March then the 2nd instance should be July and third November, no ?

    Using your suggested results the implication would be such that for a frequency of 2 each and every month would be used as opposed to every other month ie:

    Mar, Apr, May

    rather than

    Mar, May, Jul etc...

    we would expect there to be "frequency-1" blanks between the 1's.

    Please confirm.

    EDIT: just to furnish by means of example... assuming above logic to be correct then, using your file,

    F3: =IF(F$1<$E3,0,0+(MOD(F$1-$E3,$D3)=0))
    copied across matrix
    Last edited by DonkeyOte; 03-29-2010 at 05:55 AM.

  3. #3
    Registered User
    Join Date
    03-29-2010
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Maintenance planning

    sorry you are right, i tried to simplify it before posting it and messed it up. that freq was the no of visits a year not frequency! i would like it to be zeros if poss.

    thanks for your quick response and sorry the confusion!!

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Maintenance planning

    Per my late edit see if the below achieves the desired results:

    F3: =IF(F$1<$E3,0,0+(MOD(F$1-$E3,$D3)=0))
    copied across matrix

  5. #5
    Registered User
    Join Date
    03-29-2010
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Maintenance planning

    thanks alot, is it possible to populate prior months from the start month?

    eg. if the start month is jun and freq is 4 can mar have a 1 in it too? as i want to see the whole years maintenance.

    thanks again.

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Maintenance planning

    Yes, simply take out the pre-emptive IF

    F3: =0+(MOD(F$1-$E3,$D3)=0)
    copied across matrix

    (note I presume you meant Feb rather than Mar...)
    Last edited by DonkeyOte; 03-29-2010 at 06:19 AM.

  7. #7
    Registered User
    Join Date
    03-29-2010
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Maintenance planning

    you are the man!! thanks alot!

  8. #8
    Registered User
    Join Date
    07-02-2012
    Location
    cairns,QLD
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Maintenance planning

    Hi

    I never used excel for maintenance planning as I'm working with projects,but I have a interview on tomorrow as a maintenance planning officer.Is anyone can help me to learn basics (let me know basic steps to schedule maintenance work for one year).It is much appriciated as I just google to find it,then I found this forum.
    How can I create below equation

    F3: =IF(F$1<$E3,0,0+(MOD(F$1-$E3,$D3)=0))

  9. #9
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Maintenance planning

    Udul,

    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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