dvpe

New Member
Joined
Nov 11, 2010
Messages
6
Hi folks,

Here is the deal...

This table below is supposed to populate the cells with its corresponding number of weeks vs. the duration starting from the week point. The problem is that the logic of the formula stops working when a new year calendar takes place.

This gives you an idea on how the I built the logic:

=IF(AND('wk number' >=' start', 'wk number' <= 'start' + 'dur'),IF('start' + 'dur' > 'wk number',1," ")," ")

And you can notice from 'activity F' that it is not populating after week #53.


Timeline
#ActivityStartDur4344454647484950515253010203040506070809101112131415
1Activity A4311
2Activity B43511111
3Activity C43101111111111
4Activity D431111111111111
5Activity E431211111111111
6Activity F432511111111111

<tbody>
</tbody>
 
Last edited:

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,220,965
Messages
6,157,120
Members
451,399
Latest member
alchavar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top