+ Reply to Thread
Results 1 to 8 of 8

Formula to create an incremental range totalling'x'

  1. #1
    Registered User
    Join Date
    09-01-2012
    Location
    Staffordshire, England
    MS-Off Ver
    O365
    Posts
    129

    Formula to create an incremental range totalling'x'

    I wish to create a range of figures that total a predetermined amount, but that increase incrementally and evenly. e.g.

    10
    20
    30
    40
    50

    =150

    How do i do this?

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Formula to create an incremental range totalling'x'

    Hi,

    Put your first number in. Go to the Home tabFillSeries and choose:

    Series in: Columns
    Type: Linear
    Step Value: 10
    Stop Value: 150

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Formula to create an incremental range totalling'x'

    For a given sum and number of terms, you can ...

    o pick the initial value, in which case the increment between terms is

    =2*(sum - n * initialValue) / (n*(n-1))

    o pick the increment, in which case the initial value is

    =sum/n - (n-1)*increment/2
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    09-01-2012
    Location
    Staffordshire, England
    MS-Off Ver
    O365
    Posts
    129

    Re: Formula to create an incremental range totalling'x'

    Sorry guys, I cant get either to work, although i think the second suggestion should. Please see attached example. The value i am referencing is the 800,000 in cell A1 - the first value in the range A2:J2 is manually entered as 30,000. I want the rest of the range to be incrementally filled to total 800,000.
    Example1.xlsx

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Formula to create an incremental range totalling'x'

    Please Login or Register  to view this content.

  6. #6
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Formula to create an incremental range totalling'x'

    As per shg's formula

    In B2

    =A2+2*($A$1 - 10*$A$2) / (10*(10-1))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  7. #7
    Registered User
    Join Date
    09-01-2012
    Location
    Staffordshire, England
    MS-Off Ver
    O365
    Posts
    129

    Re: Formula to create an incremental range totalling'x'

    Wow! thanks, that's great!

  8. #8
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Formula to create an incremental range totalling'x'

    Maybe another way, see this workbook
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Incremental formula
    By Takau in forum Excel General
    Replies: 8
    Last Post: 09-28-2011, 11:44 AM
  2. Fill range with incremental numbers
    By Jaymond Flurrie in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-26-2008, 01:13 AM
  3. Rename or Create TEXT in Cells but with Incremental Numbers?
    By spudz72 in forum Excel - New Users/Basics
    Replies: 13
    Last Post: 12-04-2007, 01:14 PM
  4. [SOLVED] Totalling Range Values
    By robbywvut@hotmail.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-27-2005, 09:05 PM
  5. Replies: 4
    Last Post: 07-05-2005, 09:05 PM

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