Can I make array position A(12) into a variable A(12*n) ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am constantly adding data to my array and want formulas that can expand
with the data. Data is added by weeks. The first number is at A1 how can I
put in a formula that it needs to sum A1, A12,A24,depending on the week? Such
as A(1*n) where n is the week number.

Thanks....Paul
 
Perhaps something like this might work for you, or at least point you in the
right direction:

=A1+SUMPRODUCT((MOD(ROW(A1:A1000),12)=0)*(A1:A1000))

This will sum A1 and all cells in column A whose row number is evenly
divisible by 12.

HTH,
Elkar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top