ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to appy the formular with different cell parameters~kindly hel (https://www.excelbanter.com/excel-worksheet-functions/223579-how-appy-formular-different-cell-parameters%7Ekindly-hel.html)

JL

How to appy the formular with different cell parameters~kindly hel
 
I am working on a worksheet which require me to do this:
For cell A80, it is equal to Sum of A1 to A10
For cell A81, it is equal to Sum of A11 to A20
For cell A82, it is equal to Sum of A21 to A30
and so on......

Is there a easy way to do it instead of mannually change the formular one by
one?????
--
Learn More!

Niek Otten

How to appy the formular with different cell parameters~kindly hel
 
=SUM(INDIRECT("a"&INT(ROW()/8)-9+MOD(ROW(),8)&":A"&INT(ROW()/8)+MOD(ROW(),8)))

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"JL" wrote in message
...
I am working on a worksheet which require me to do this:
For cell A80, it is equal to Sum of A1 to A10
For cell A81, it is equal to Sum of A11 to A20
For cell A82, it is equal to Sum of A21 to A30
and so on......

Is there a easy way to do it instead of mannually change the formular one
by
one?????
--
Learn More!



[email protected]

How to appy the formular with different cell parameters~kindly hel
 
"JL" wrote:
I am working on a worksheet which require me to do this:
For cell A80, it is equal to Sum of A1 to A10
For cell A81, it is equal to Sum of A11 to A20
For cell A82, it is equal to Sum of A21 to A30
and so on......
Is there a easy way to do it instead of mannually change
the formular one by one?????


Put the following into A80 and copy down:

=SUM(OFFSET($A$1:$A$10,10*(ROW()-ROW($A$80)),0))



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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com