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
Solved

excel vb macro, forecasting based on date per project

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
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 …
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…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

789 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