+ Reply to Thread
Results 1 to 5 of 5

Sum of Arithmetric Series

  1. #1
    Registered User
    Join Date
    11-19-2009
    Location
    Croatia
    MS-Off Ver
    Excel 2003
    Posts
    2

    Sum of Arithmetric Series

    Hi! I hope I didn't put this into a wrong forum. Also, neither english nor math are my native language, so please have patience with me. I will do my best to explain the problem.

    I need to make a formula in a Excel (I have Excel 2003), that takes value X and adds Z to it, then increases X by 1 and again adds Z to it, then again increases X by 1 and adds Z to it, until it reaches value Y plus Z.
    Or, repeating the (X+1)+5 process N times.

    For example, if X=3, Y=6 and Z=5:

    (3+5)+(4+5)+(5+5)+(6+5)

    X (and Y) will have to use values from 1 to up to tens of thousand. X, Y and Z (or X, Z and N) will be cell values from an existing table.

    If this is possible to make in Excel in ANY way, I'd be extremely thankful to you for your solution.

    Thank you in advance.
    Last edited by Roundchild; 11-19-2009 at 09:41 AM. Reason: Generic title, solved

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Sum of a Series

    You can calculate the sum of an arithmetic series using:

    (N(2a + ((N-1)*d)))/2

    Where

    N is number of terms - in your case this is 1+Y-X
    a is first number in series - in your case this is X+Z
    d is common difference of successive members - in your case 1
    Thus if we assume X is A1 and is thus 3, Y is A2 and is thus 6 and Z is A3 and is thus 5 then the sum of the series can be calculated using:

    Please Login or Register  to view this content.
    Altering values in A1:A3 will generate different results as required.

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Sum of Arithmetric Series

    Here, try this formula:

    =(Y-X+1)*(Y-X+2*Z)/2

    (adjust cells related to upper numbers)
    Last edited by zbor; 11-19-2009 at 09:43 AM.

  4. #4
    Registered User
    Join Date
    11-19-2009
    Location
    Croatia
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Sum of Arithmetric Series

    These work perfectly. Thank you for your patience and swift help!

  5. #5
    Forum Contributor
    Join Date
    09-23-2008
    Location
    UK
    Posts
    137

    Re: Sum of Arithmetric Series

    I think this is what you want. Although you may be able to use some theory to get the result instead.

    Actually use the theory above.. this is overengineered.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1