Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 661
Default Can I make array position A(12) into a variable A(12*n) ?

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Can I make array position A(12) into a variable A(12*n) ?

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


"Paul" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Variable column to fixed array asaylor Excel Worksheet Functions 0 August 9th 06 05:28 PM
Make array formulay to round a number then subtract 10 from it G58 New Users to Excel 1 June 29th 06 03:38 PM
How to make array of noncontig cells for SUMPRODUCT? [email protected] Excel Discussion (Misc queries) 1 April 21st 06 05:33 AM
use a variable array in a formula JPderose Excel Discussion (Misc queries) 1 October 20th 05 06:24 AM
Array Brad Excel Worksheet Functions 9 October 17th 05 09:00 PM


All times are GMT +1. The time now is 09:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"