![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Location: Champaign, IL
Posts: 2
|
Hi,
I have a question dealing with summing a range. I am sorry if this has been covered so if there is an answer in another message just point me to it. I have a rather large spreadsheet I am importing from another file and need to sum every set of 91 numbers in a column to a new spreadsheet. So, I am summing A1 - A91, A92 - A182, etc. down the column. I need a to sum these into columns in a new spread sheet. The new spreadsheet will have the same number of columns, but will consist of the sums. I can't seem to write the link in a few cells and then fill down. I have experimented with a little VBA, but am not good enough to write code to do this. Can someone suggest a method for this. I also need to do this for one column and be able to just fill across the sheet. I appreciate your help. Regards, Jeremy [ This Message was edited by: jlharrier on 2002-02-19 22:18 ] [ This Message was edited by: jlharrier on 2002-02-19 23:11 ] |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: Perth Australia
Posts: 1,567
|
Hi
If your data is in Column A, starting A1 then: B1 is blank or zero B2 =B1+90 C2 =SUM(OFFSET(A1,B1,0):OFFSET(A1,B2,0)) Scroll formulas down the number of rows your data will divide by 91 hope this helps Derek PS Sorry, original post wasn't quite right, amended above. Also if you want column A of a sheetXXX to contain these sums, type = in A1, go to original sheet and select C2 and press Enter. Now return to sheetXXX and scroll formula down [ This Message was edited by: Derek on 2002-02-19 23:42 ] [ This Message was edited by: Derek on 2002-02-20 00:02 ] |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: Perth Australia
Posts: 1,567
|
Hi
I have amended my original post (I should have tested it first !). Must be more careful in future. Derek |
|
|
|
|
|
#4 |
|
New Member
Join Date: Feb 2002
Location: Champaign, IL
Posts: 2
|
Derek,
Thanks for the help. That worked great. Jeremy |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|