|  

» Summing A Dynamic Range of Numbers According To Criteria

CATEGORY - Summing VERSION - All Microsoft Excel Versions
Problem:

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
Summing A Dynamic Range of Numbers According To Criteria


Rate This Tip
12 34 5
Rating: 4.29     Views: 17959
Mis-statement of problem?
Dennis Taylor
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
if you check out the screen shot, c2 is where the "2" comes from.
Click here to post comment
For Registered Users
Name
Comment Title
Comments