Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Filling speadsheet with INDIRECT functions?

Currently I have a speadsheet (30 columns by 400 rows) that was filled
manually with various (sum, min, max, stdev) INDIRECT formulas. Each row on
my summary sheet computes data from each 20 rows of my raw data. EXAMPLE-
Row 1 ... =sum(INDIRECT("d1:d20")), Row 2 ... =sum(INDIRECT("d21:d40")), Row
3 ... sum(INDIRECT(d41:d60")), etc. Is it possible to "FILL" the cells when
I add rows to the summary sheet? I am now manually typing 28 new formulas
for each new added row. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Filling speadsheet with INDIRECT functions?

Replace your: =sum(INDIRECT("d1:d20"))
with this: =SUM(OFFSET(D$1,ROWS($1:1)*20-20,,20))
Then just copy it down as far as required.

It'll return what you seek:
Row 1 ... =sum(INDIRECT("d1:d20")),
Row 2 ... =sum(INDIRECT("d21:d40")),
Row 3 ... sum(INDIRECT(d41:d60")),

--
Max
Singapore
http://savefile.com/projects/236895
Downloads:16,000 Files:354 Subscribers:53
xdemechanik
---
"duchem02" wrote:
Currently I have a speadsheet (30 columns by 400 rows) that was filled
manually with various (sum, min, max, stdev) INDIRECT formulas. Each row on
my summary sheet computes data from each 20 rows of my raw data. EXAMPLE-
Row 1 ... =sum(INDIRECT("d1:d20")), Row 2 ... =sum(INDIRECT("d21:d40")), Row
3 ... sum(INDIRECT(d41:d60")), etc. Is it possible to "FILL" the cells when
I add rows to the summary sheet? I am now manually typing 28 new formulas
for each new added row. Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,358
Default Filling speadsheet with INDIRECT functions?

=sum(INDIRECT("d1:d20"))

Row 1:
=SUM(INDIRECT("D"&row()*20-19&":D"&row()*20))

Edit|Fill|Down
--
John C


"duchem02" wrote:

Currently I have a speadsheet (30 columns by 400 rows) that was filled
manually with various (sum, min, max, stdev) INDIRECT formulas. Each row on
my summary sheet computes data from each 20 rows of my raw data. EXAMPLE-
Row 1 ... =sum(INDIRECT("d1:d20")), Row 2 ... =sum(INDIRECT("d21:d40")), Row
3 ... sum(INDIRECT(d41:d60")), etc. Is it possible to "FILL" the cells when
I add rows to the summary sheet? I am now manually typing 28 new formulas
for each new added row. Thanks.

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
Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions Mike Barlow Excel Worksheet Functions 7 May 21st 23 07:42 PM
indirect.ext / pull functions David Excel Discussion (Misc queries) 0 September 11th 07 01:29 PM
row-indirect functions [email protected] Excel Discussion (Misc queries) 3 February 28th 06 11:01 PM
Copying and Filling Cell With Functions DLZ217 Excel Discussion (Misc queries) 1 June 23rd 05 01:53 AM
Offset and Indirect functions Thrava Excel Discussion (Misc queries) 4 December 23rd 04 05:07 PM


All times are GMT +1. The time now is 12:58 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"