Column A contains an ascending list of numbers.
How could we create a formula that will sum up all the numbers in column A larger than 2,
and will automatically update the result upon the addition of numbers to the list?
Solution:
Use the MATCH, COUNTIF and OFFSET functions, in the following SUM formula:
=SUM(OFFSET(A2,MATCH(C2,A2:A10,0),0,COUNTIF(A2:A10,"">""&C2)))
List1
0
1
2
3
8
First number to sum___2
Result________________11
Screenshot // Summing A Dynamic Range of Numbers According To Criteria
Mis-statement of problem?
Dennis Taylor wrote on July 07, 2005 15:51 EST
This formula works just fine:
=SUMIF(A2:A10,">2",A2:A10)
It seems as if the problem statement omits some vital information. What role does C2 have in all this?
look at the screen shot
neko wrote on December 31, 1969 19:00 EST
if you check out the screen shot, c2 is where the "2" comes from.
Terms
and Conditions of use
The applications/code on this site are distributed as is and without warranties
or liability. In no event shall the owner of the copyrights, or the authors
of the applications/code be liable for any loss of profit, any problems
or any damage resulting from the use or evaluation of the applications/code.