Auto Populate Data between dates

rygar24

New Member
Joined
Apr 8, 2014
Messages
2
Hello,

I have a unique question. I am trying to auto populate data (resource needs) between two dates in excel. For instance, each month from January 2015 (start month) to December 2017 (end month) I need 5 resources. Jan 2015=5 resources, Feb 2015=5 resources, and so on all the way to December 2017. In Column P, I have my resource need and in columns J and K I have the start and end dates. Without having to reference the resource need cell and drag it manually from the start to end date, I would like excel to see the start and end date and auto populate the resource need throughout these months. I know this can be done, but can't seem to figure it out. Someone please help!! Thank you!

Ryan
 

nils7

New Member
Joined
Oct 7, 2012
Messages
42
Hi Ryan,

It is not quite clear where your output data is, so I am making some assumptions:

I assume you have the start date in J2 and the end date in K2.
I assume you have the resource need in P2
I assume you have a timeline of months in row 5
The resource need per month is in row 6.

The formula to put into A6 (and then drag across) is:

=IF(AND($J$2<=A5,A5<=$K$2),$P$2,"")

I hope this is what you were after. If not, give us some more information on your data setup.

Cheers,

Nils
 

Forum statistics

Threads
1,082,040
Messages
5,362,804
Members
400,693
Latest member
jenlj

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top