Closed Thread
Results 1 to 4 of 4

Populating projected data based on date and frequency

  1. #1
    Registered User
    Join Date
    06-25-2019
    Location
    South Africa
    MS-Off Ver
    MS office 365
    Posts
    1

    Populating projected data based on date and frequency

    I often build a 52 week projection to manage weekly maintenance work load. It is a complex spreadsheet made worse by my inability to populate the fields automatically based on the raw data. See attached dummy. Task 1 row shows what the output for a weekly task would look like, as does task 2 for a 2 weekly task. Note the dates fall into the period between the start of one week and the start of the next. ie. falling on different days within any given week.

    The sheet is made up of 52 weeks with dates in columns and maintenance tasks shown in rows.
    Each task is plotted across the 52 weeks based on the last done date and frequency in days. Where the week and the due date match the filed is populated with the estimated duration. The problem is that the dates must project into the future and into the past between week 1 and week 52.
    While I can get the matching fields to populate the preceding and subsequent fields remain blank. I'm unsure if the solution's is macro based or formula based. But any suggestions as to how to automate the population of this spread sheet would be greatly appreciated.
    Thanks
    Peter
    Attached Files Attached Files
    Last edited by PeterDe; 06-25-2019 at 05:08 AM.

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

    Re: Populating projected data based on date and frequency

    Hello PeterDe and Welcome to Excel Forum.
    See if the following formula, modeled in rows 13:20 of the attached copy of the file, does what you want: =IF(MOD(VALUE(MID(E$1,2,2))-WEEKNUM($B3),$C3/7)=0,1,"")
    Conditional formatting highlights the 'Last done date' using the formula: =WEEKNUM($B3)=VALUE(MID(E$1,2,3))
    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.

  3. #3
    Forum Contributor
    Join Date
    02-16-2010
    Location
    Manchester, England
    MS-Off Ver
    Microsoft 365 for Enterprise
    Posts
    103

    Re: Populating projected data based on date and frequency

    Hi JeteMC

    I was googling my need to visualise in a calendar grid my maintenance activities based on start date and frequency and came across this post, thanks PeterDe for your question!

    JeteMC your solution to Peters question is close to what I'm looking for but i was wondering if it would be possible to return a different value based on the activity frequency?

    Please see attached example

    thanks in advance!

    Jason
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,623

    Re: Populating projected data based on date and frequency

    Administrative Note:

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] If Frequency Formula count based on date is off by 1
    By antexity in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-07-2015, 01:30 PM
  2. Calculate next due date based on start date frequency and current date
    By ironoverload in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-09-2014, 07:08 AM
  3. Populating the projected annual rental income based on revision dates
    By aghlab in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-26-2013, 12:55 AM
  4. Replies: 9
    Last Post: 10-25-2011, 10:33 AM
  5. Projected End Date
    By jealkon in forum Excel General
    Replies: 3
    Last Post: 02-24-2011, 10:22 AM
  6. Replies: 0
    Last Post: 12-27-2005, 06:10 PM
  7. [SOLVED] [SOLVED] How to Calculate a Projected Finish Date based on Work Week and Holidays
    By mojado44 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-15-2005, 09:10 PM

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