a summation problem

M

Martin

Can anyone out there help me with the following.
I have a list of numbers, say:
0
30
15
40
20
....and in the adjacent column i want Excel to sum the
numbers in the above column that are less-than-or-equal-to
the corresponding cell to the left of it horizontally. The
output should then be like this:
0 0
30 65
15 15
40 105
20 35

That's all, i'm sure it's not too hard, but i just cannot
make it happen.

martin
 
D

Dana DeLouis

Slightly different...if you give your column of numbers a range name (say,
"data"), Excel is able to distinguish between the entire range "data", and
the cell on the same row within "data".

=SUMIF(data,"<=" & data)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top