ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sum column - parameter (https://www.excelbanter.com/excel-discussion-misc-queries/177370-sum-column-parameter.html)

oscar

Sum column - parameter
 
How can I sum n-th column (n is parameter)? Something like =sum(E:E). Tried
with offset but doesn't work with E:E as it works with E1:E100.

Thanks,
Oscar.

Max

Sum column - parameter
 
In say, B2: =SUM(OFFSET(A:A,,4))
will return the same as: =SUM(E:E)
(col param = 4 = 4 cols to the right of anchor col A)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Oscar" wrote:
How can I sum n-th column (n is parameter)? Something like =sum(E:E). Tried
with offset but doesn't work with E:E as it works with E1:E100.

Thanks,
Oscar.


oscar

Sum column - parameter
 
Exactly what I was looking for.

Thanks, Oscar.

"Max" wrote:

In say, B2: =SUM(OFFSET(A:A,,4))
will return the same as: =SUM(E:E)
(col param = 4 = 4 cols to the right of anchor col A)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Oscar" wrote:
How can I sum n-th column (n is parameter)? Something like =sum(E:E). Tried
with offset but doesn't work with E:E as it works with E1:E100.

Thanks,
Oscar.


Max

Sum column - parameter
 
Welcome, Oscar.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Oscar" wrote in message
...
Exactly what I was looking for.
Thanks, Oscar.





All times are GMT +1. The time now is 12:17 AM.

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