Sum Function

erock24

Well-known Member
Joined
Oct 26, 2006
Messages
1,163
What sum function would I use to sum from 1 to the specified number. For example, if my number were 5. I would want a formula to sum 1+2+3+4+5 and return 15.

Thanks,
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
1+2+3+4+...+n = n(n+1)/2
a + (a+1) + (a+2) + ... + (a+n) = (n+1)(2a+n)/2

a + (a+r) + (a+2r) + (a+3r) + ... + (a+nr) = (n+1)(2a+nr)/2

The sum of an arithmetic series is (number of terms)(first term + last term)/2
 
Upvote 0
What sum function would I use to sum from 1 to the specified number. For example, if my number were 5. I would want a formula to sum 1+2+3+4+5 and return 15.

Thanks,
If your value of interest is in A1, try:

=(A1+1)*A1/2

Edit: A bit slow, but I guess confirms the answers already given. :)
 
Upvote 0

Forum statistics

Threads
1,207,105
Messages
6,076,580
Members
446,215
Latest member
userds5593

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top