?
Solved

excel vb macro, forecasting based on date per project

Posted on 2014-03-08
3
Medium Priority
?
301 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

752 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