Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello,
A follow-up to my previous question. I would like to sum from cell A1 through cells in row 1, column A + indirect(example number). I am unable to use the string =sum(A1:address(example code)) because the sum function will not allow address() as an argument. Suggestions? Thank you for your help. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
One way is to try it like this
In say, B1: =SUM(OFFSET(A1,,,10)) will return the sum of 10 col cells starting from the anchor cell A1, ie equivalent to: =SUM(A1:A10) Adapt the anchor cell and the "10" to suit -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Popik" wrote: Hello, A follow-up to my previous question. I would like to sum from cell A1 through cells in row 1, column A + indirect(example number). I am unable to use the string =sum(A1:address(example code)) because the sum function will not allow address() as an argument. Suggestions? Thank you for your help. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Popik,
In general, use a formula like; =SUM(INDIRECT(ADDRESS(StartRowNo,StartColNo)) : INDIRECT(ADDRESS(EndRowNo,EndColNo))) So, to sum from A1 to O1 =SUM(INDIRECT(ADDRESS(1,1)) : INDIRECT(ADDRESS(1,15))) Of course, you can use cell references instead of the values shown above. Ed Ferrero www.edferrero.com Hello, A follow-up to my previous question. I would like to sum from cell A1 through cells in row 1, column A + indirect(example number). I am unable to use the string =sum(A1:address(example code)) because the sum function will not allow address() as an argument. Suggestions? Thank you for your help. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Another one:
=SUM(A1:INDEX(A:A,n)) Where n is the numbers of cells to sum. For example: n = 5 =SUM(A1:A5) n = 10 =SUM(A1:A10) -- Biff Microsoft Excel MVP "Popik" wrote in message ... Hello, A follow-up to my previous question. I would like to sum from cell A1 through cells in row 1, column A + indirect(example number). I am unable to use the string =sum(A1:address(example code)) because the sum function will not allow address() as an argument. Suggestions? Thank you for your help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Advanced Cell Reference | Excel Discussion (Misc queries) | |||
advanced relative cell reference | Excel Discussion (Misc queries) | |||
Advanced Conditional Formatting Ideas Needed! (ok, maybe not that advanced...) | Excel Discussion (Misc queries) | |||
Advanced formula - Return result & Show Cell Reference of result | Excel Worksheet Functions | |||
problem with cell reference in =sum(offset(cell reference,x,y,z,a)). Want cell ref to be variable. | Excel Worksheet Functions |