Solved

excel vb macro, forecasting based on date per project

Posted on 2014-03-08
3
288 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
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 simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

930 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now