Solved

excel vb macro, forecasting based on date per project

Posted on 2014-03-08
3
291 Views
Last Modified: 2014-03-09
Folks

I want to display projects in a sheet that happen on regular intervals over a calendar per work

i.e.

PROJECT      FREQUENCY      INTERVAL      START DATE      WEEK1      WEEK2      WEEK3
SERVICE CAR      14      DAYS      01/01/2014      X            X
CHECK OIL      7      DAYS      08/01/2014            X      X

how can we do this in excel?
PM-FORECASTER.xlsx
0
Comment
Question by:rutgermons
  • 2
3 Comments
 
LVL 39

Expert Comment

by:nutsch
ID: 39915116
I don't really understand what you're trying to achieve. Can you maybe provide a before / after tab on your excel file?

Thomas
0
 
LVL 81

Accepted Solution

by:
byundt earned 500 total points
ID: 39915285
I can reproduce your table with this formula in cell E4 (copied across, up and down):
=IF(AND($D4<=(E$1+6),MOD(E$1-$D4,$B4)>=0,MOD(E$1-$D4+6,$B4)<=6),"X","")
PM-FORECASTER-Q28383678.xlsx
0
 
LVL 81

Expert Comment

by:byundt
ID: 39915809
I should have noted that I changed Week1, Week2, Week3... to the dates that each week begins on.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question