Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mutcluck
 
Posts: n/a
Default Summing Every 40th cell?

How can I Sum

A43+A83+A123+A163 into infinity.

This is crucial to making a worksheet to track #'s of resumes from various
web postings over time.
  #2   Report Post  
Harlan Grove
 
Posts: n/a
Default

"Mutcluck" wrote...
How can I Sum

A43+A83+A123+A163 into infinity.

....

Two ways.

=SUMPRODUCT(--(MOD(ROW(A43:A65536),40)=3,A43:A65536)

=SUMPRODUCT(N(OFFSET(A43,40*(ROW(1:1638)-1),0)))

The latter does less work.


  #3   Report Post  
Myrna Larson
 
Posts: n/a
Default



=SUMPRODUCT(--(MOD(ROW(A43:A65536),40)=3),A43:A65536)

If it doesn't work as I show, try entering it as an array formula with
CTRL+SHIFT+ENTER.

On Thu, 31 Mar 2005 18:03:01 -0800, "Mutcluck"
wrote:

How can I Sum

A43+A83+A123+A163 into infinity.

This is crucial to making a worksheet to track #'s of resumes from various
web postings over time.


  #4   Report Post  
Jason Morin
 
Posts: n/a
Default

But the latter contains a volatile function. Naughty.

-----Original Message-----
"Mutcluck" wrote...
How can I Sum

A43+A83+A123+A163 into infinity.

....

Two ways.

=SUMPRODUCT(--(MOD(ROW(A43:A65536),40)=3,A43:A65536)

=SUMPRODUCT(N(OFFSET(A43,40*(ROW(1:1638)-1),0)))

The latter does less work.


.

  #5   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Harlan Grove wrote:
"Mutcluck" wrote...

How can I Sum

A43+A83+A123+A163 into infinity.


...

Two ways.

=SUMPRODUCT(--(MOD(ROW(A43:A65536),40)=3,A43:A65536)

=SUMPRODUCT(N(OFFSET(A43,40*(ROW(1:1638)-1),0)))

The latter does less work.



The temporal profile of the latter, across runs, seems to converge to:

Re Calc: 4.0 millisecs
Full Calc: < 10 millisecs
% Volatility: About between 50.0 and 100.0
Microsecs/Formula: About between 4,000.0 and 7,100.0

=SUMPRODUCT(--(MOD(ROW($A$43:INDEX($A$43:$A$65536,B1))-ROW($A$43)+0,40)=0),$A$43:INDEX($A$43:$A$65536,B1) )

with B1:

=MATCH(9.99999999999999E+307,A43:A65536)

we have:

Re Calc: 0.4 millisecs
Full Calc: Around 50 millisecs
% Volatility: Less than 1
Microsecs/Formula: Around 27,500.0

Substituting CELL("Row",$A$43) for ROW($A$43) worsens the performance
considerably.

I wished FastExcel could be asked to produce average values across N
runs, where N can be set by the user.

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
create a cell that accumulates, numbers from another cell... sombull Excel Discussion (Misc queries) 1 February 18th 05 04:45 PM
Can a Formula in Cell X modify Cell Y? alMandragor Excel Discussion (Misc queries) 7 February 10th 05 09:51 PM
Copy text from same cell on every sheet to title sheet? Jon Excel Discussion (Misc queries) 2 February 9th 05 03:11 PM
inserting data from a row to a cell, when the row number is specified by a formula in a cell [email protected] New Users to Excel 2 January 6th 05 07:18 AM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


All times are GMT +1. The time now is 07:50 AM.

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

About Us

"It's about Microsoft Excel"