Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50079

Construct a formula on a pre-determined cell for a pre-determined duration of cells

$
0
0
Hi all

I have a formula that divides a value 'X' by 1 to give a percentage, which when extended horizontally repeats the value until it reaches 100% and then stops:

=IF(SUM($AC55:AC55)<$AC55+1,1/$AC55,"0")

In this example, the value 'X' is in AC55. Just so you know, in this spreadsheet this is the duration of a project in months.

What I want to do is to trigger this formula to function in a pre-determined cell and for a pre-determined number of cells only. The pre-determined cell may be determined in a column titled 'Start date' in which there will be a drop-down menu for months of the year which corresponds to 12 columns to the right of column AC (see above) representing months of the year, and the pre-determined duration may be determined by the value 'X' above.

I have included a screenshot to help illustrate what I have so far.

I really appreciate your help, any guidance will be greatly appreciated.

screenshot.jpg

Viewing all articles
Browse latest Browse all 50079

Trending Articles