Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This appears to do what you are asking for:
=SUM(INDIRECT("a" & ROW(A1) & ":a" & $C$1)) "Jeff" wrote: Hi, I have a formula that sums the range Cell B1 = Sum(A1:$A$100) and this is copied down to cell B100, so Cell B33 = Sum(A33:$A$100) But I want the sum range to change, based on the value in cell C1. If C1 = 100, then the sum range will = Sum(A1:$A$100), Cell B33 = Sum(A33:$A$100) If Cell C1 = 300, then the sum range will = Sum(A1:$A$300) Cell B33 = Sum(A33:$A$300) I tried using indirect but I could not figure it out. Thanks for your help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Summing a Range Omitting the Occasional #N/A | Excel Worksheet Functions | |||
How to Select a relative range with Using "Find" and Offset() | Excel Discussion (Misc queries) | |||
Can a formula check for a certain value in a range? | Excel Discussion (Misc queries) | |||
can a formula check for a certain value in a range? | Excel Discussion (Misc queries) | |||
Counting empty cells within a range of cells | New Users to Excel |