Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Sum Based on Cell location in Column

An Excel dilemma...
I have a sheet that is updated from another program and it fills the
column with numbers that start randomly based on time somewhere
between 1 and 600 rows... that is... the data can start at row 256 and
continue to 600 or at any other row.
I would like to SUM the first 30 Rows when the data starts
Automatically coming in.
Example
First Update Second Update
Row Column Row Column
1 0 1 0
2 0 2 0
3 24 3 0
4 36 4 0
5 42 5 20
6 55 6 55
7 44 7 22
8 55 8 55

I will be opening the spreadsheet and it will auto update, I just want
the SUM to auto update based on the criteria.
I figured it might be a SUM IF, COUNT OR ARRAY
Please Help..... MY head hurts.
  #2   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Sum Based on Cell location in Column

Hi
try the following array formula (entered with CTRL+SHIFT+ENTER):
=SUM(OFFSET($A$1,MIN(IF($A$1:$A$1000<"",ROW($A$1: $A$1000)))-1,0,30))

--
Regards
Frank Kabel
Frankfurt, Germany

"Bill King" schrieb im Newsbeitrag
om...
An Excel dilemma...
I have a sheet that is updated from another program and it fills the
column with numbers that start randomly based on time somewhere
between 1 and 600 rows... that is... the data can start at row 256

and
continue to 600 or at any other row.
I would like to SUM the first 30 Rows when the data starts
Automatically coming in.
Example
First Update Second Update
Row Column Row Column
1 0 1 0
2 0 2 0
3 24 3 0
4 36 4 0
5 42 5 20
6 55 6 55
7 44 7 22
8 55 8 55

I will be opening the spreadsheet and it will auto update, I just

want
the SUM to auto update based on the criteria.
I figured it might be a SUM IF, COUNT OR ARRAY
Please Help..... MY head hurts.


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
Show value from specific column based on location of active cell Spuds Glorious Spuds Excel Discussion (Misc queries) 1 November 5th 08 05:43 PM
Looking up 3 cells based on defined value in a row/column location Steve Excel Worksheet Functions 4 June 15th 07 07:40 PM
Location of the Last cell in a column containing data Diggs Excel Discussion (Misc queries) 1 January 27th 06 09:09 PM
Hide column or row based on a cell in the column or row? SacGuy Excel Discussion (Misc queries) 0 January 24th 06 06:51 PM
Deleting Rows based on text in cell & formatting cell based on text in column beside it Steve Excel Programming 4 February 26th 04 03:31 PM


All times are GMT +1. The time now is 03:36 PM.

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"