+ Reply to Thread
Results 1 to 17 of 17

Need help making a series

  1. #1
    Registered User
    Join Date
    08-28-2014
    Location
    Baltimore
    MS-Off Ver
    2010
    Posts
    32

    Need help making a series

    Hello!
    I need some help making a series of numbers

    For example:

    Lets say I have someone put in the number 6.
    I need the series to be translated to 2100
    100 + 200 (=300) + 300 (=600) + 400 (=1000) + 500 =(1500) + 600(=2100)
    I need it to constantly increase by 100 extra number

    I need the same thing done for an increase of 50
    50 + 100 (=150) + 150 (300) + 200 = (500) + 250 (750) + 300 (1050)

    Then I need those numbers to add together and multiply by a set number for example 90

    The way I am looking to input it is for example in C1 Enter number 6 (series), and in C2 Enter number 6 (Series) they become 2100+ 1050= 3150 * 90

    I hope that is all the information needed to help me
    thank you very much

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Need help making a series

    Do you want to see the series or just the final sum(s)?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    08-28-2014
    Location
    Baltimore
    MS-Off Ver
    2010
    Posts
    32

    Re: Need help making a series

    just the final sums so if i enter 6 for part 1 and 6 for part 2 .. i just want to see the final answer of 3150

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Need help making a series

    I think the key to solving this kind of problem is in math rather than Excel.

    If we take the multiplier out of each of those sums, we see:

    a=100+200+300+... -> 100*(1+2+3+...+n)
    b=50+100+150+... -> 50*(1+2+3+...+n)
    a+b=100*(sum of 1 to n) + 50*(sum of 1 to n)=(100+50)*(sum of 1 to n).

    The key is to recognize that series as the one Gauss discovered when he was 10 (so the story goes): http://mathcentral.uregina.ca/QQ/dat...02.06/jo1.html

    I'll let you do the algebra from there, but it should be fairly simple to create a formula in Excel that will allow you to enter n and get the desired sum out.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Registered User
    Join Date
    08-28-2014
    Location
    Baltimore
    MS-Off Ver
    2010
    Posts
    32

    Re: Need help making a series

    Unless you can somehow make this super professional, I just dont know how to do this.
    Lets say the max series of cell 1 is 10 and max series of cell 2 is 11

    Lets say i put in the number 10 and i want both max series included.
    so 100,300,600,1000,1500,2100,2800,3600,4500, 5500 (10 times)
    After the next series starts by 50 so 5550,5650,5800,6000,6250,6550,6900,7300,7750,8250,8800 (11 times)

    10 would assume both are the max series (10/11) so 10 should be 88000

    Is there anyway i could do this? This would be amazing, but i dont know if its possible, in just 1 cell.

    This way i can just get the input to be in one cell rather than two
    Last edited by RavensFtw; 08-28-2014 at 09:01 AM.

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Need help making a series

    In your first example, you started your second series back at 0 (50+100+150...)
    In your second example, you started your second series where your first series left off (5500+50, 6000+50 ... )
    Note, you calculated your second series wrong I believe, increasing each by 100?

    The formula for combining this is fairly simple. I'm just not sure what I'm combining.

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Need help making a series

    In your first example, you started your second series back at 0 (50+100+150...)
    In your second example, you started your second series where your first series left off (5500+50, 6000+50 ... )
    Note, you calculated your second series wrong I believe, increasing each by 100?

    The formula for combining this is fairly simple. I'm just not sure what I'm combining.

    I think this is what you are looking for

    =(C1+1)*100*C1/2+(C2+1)*50*C2/2

  8. #8
    Registered User
    Join Date
    08-28-2014
    Location
    Baltimore
    MS-Off Ver
    2010
    Posts
    32

    Re: Need help making a series

    No it is correct, after 10 the series starts by 50 instead of 100.
    So as in the example i had, 10 would be 88000
    That is why i said it may not be possible to have it all in one cell.

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Need help making a series

    This is my interpretation of the problem:

    A
    B
    C
    D
    1
    # of numbers
    Base #
    2
    10
    100
    5500
    =((A2+1)/2)*A2*B2
    3
    10
    50
    2750
    4
    8250
    5
    6
    10
    150
    8250
    =((A2+1)/2)*A2*B2

    Your first example given is linear but the second example is exponential. Both of these are linear. What do you really want?
    Last edited by newdoverman; 08-28-2014 at 11:05 AM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  10. #10
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Need help making a series

    Attached I have a spreadsheet demonstrating what I thought would be a final result (using multiple cells but it would be easy to combine everything).
    Please modify the sheet to show a couple of examples (series of 4 or 5 will suffice) and upload it (Go Advanced>Manage Attachments)
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    08-28-2014
    Location
    Baltimore
    MS-Off Ver
    2010
    Posts
    32

    Re: Need help making a series

    Quote Originally Posted by newdoverman View Post
    This is my interpretation of the problem:

    A
    B
    C
    D
    1
    # of numbers
    Base #
    2
    10
    100
    5500
    =((A2+1)/2)*A2*B2
    3
    10
    50
    2750
    4
    8250
    5
    6
    10
    150
    8250
    =((A2+1)/2)*A2*B2

    Your first example given is linear but the second example is exponential. Both of these are linear. What do you really want?
    They are the same two things, I was just making it less complicated in the first example where I put them separately, I was asking if its possible to make one equation in one cell, without having to make a mess. I can always hand write it, but im trying to make a little calculator for a specific thing for other people to use.

  12. #12
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Need help making a series

    Here is another possibility that adds the results of inputs for two scenarios:
    A
    B
    C
    D
    E
    F
    1
    Case 1 Case 2
    2
    # of numbers
    Base #
    # of numbers
    Base #
    3
    10
    100
    10
    50
    8250
    =((A3+1)/2)*A3*B3+IF(OR(C3="",D3=""),0,((C3+1)/2)*C3*D3)

  13. #13
    Registered User
    Join Date
    08-28-2014
    Location
    Baltimore
    MS-Off Ver
    2010
    Posts
    32

    Re: Need help making a series

    Chemist! thank you very much what you did helped me, instead of cells I just plugged in 10 and 11 into the equation
    ((((((C6*(10/2*(2*100+(10-1)*100)+11/2*(2*50+(11-1)*50)))))))/2*(90)/((((C3+((C4-C3))/10)))*((((1+(E3/10)+(E4/10)+(E5*0.005)+(E6/10))))))/(1+G3/100))

    That's basically my equation and it gives me my answer I want in seconds.. I always have trouble doing this next part.
    Could you help me convert this answer- by keeping it in the same cell, and multiplying this answer into minutes.. the final answer of this equation above the answer comes out to 11161.1 seconds.. I would like it to come out into minutes:hours:seconds

    Is it possible to add something to that equation to make it come out to minutes:hours:seconds? Or would I need to Keep it as 1 cell and in the next cell make an equation for hour minutes and seconds .. that way it has something to multiply

    Thank you again

  14. #14
    Registered User
    Join Date
    08-28-2014
    Location
    Baltimore
    MS-Off Ver
    2010
    Posts
    32

    Re: Need help making a series

    Hoping its possible to put hours minutes seconds into that somehow...can't wait to see a reply, hopefully it is a good one haha! anxious

  15. #15
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: Need help making a series

    Hi
    For summing from 1 to any number (say n) the mathematical formula is

    n*(n+1)/2

    You can multiply with 100 or 50 to get the series total

    e.g

    10*(10+1)/2 = 10*11/2= 55*100 = 5500

    and

    11*(11+1)/2 = 11*12/2 = 66*50 = 3300

    Or if you want total as in post # 5

    See attached sheet for both
    Attached Files Attached Files
    Mark the thread as solved if you are satisfied with the answer.


    In your first post under the thread tools.

    Mahju

  16. #16
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Need help making a series

    What you have now is 1 second as the unit of measure. Excel uses 1 day as the unit of measure.
    So, divide your seconds by number of seconds in a day (60*60*24) and then format the cell with custom format
    [hh]:mm:ss so it shows as hours:min:Sec. The [] around hh means to keep it in hours even if it's over 24.

    the formula would be
    ((((((C6*(10/2*(2*100+(10-1)*100)+11/2*(2*50+(11-1)*50)))))))/2*(90)/((((C3+((C4-C3))/10)))*((((1+(E3/10)+(E4/10)+(E5*0.005)+(E6/10))))))/(1+G3/100))/(60*60*24)

  17. #17
    Registered User
    Join Date
    08-28-2014
    Location
    Baltimore
    MS-Off Ver
    2010
    Posts
    32

    Re: Need help making a series

    Quote Originally Posted by ChemistB View Post
    What you have now is 1 second as the unit of measure. Excel uses 1 day as the unit of measure.
    So, divide your seconds by number of seconds in a day (60*60*24) and then format the cell with custom format
    [hh]:mm:ss so it shows as hours:min:Sec. The [] around hh means to keep it in hours even if it's over 24.

    the formula would be
    ((((((C6*(10/2*(2*100+(10-1)*100)+11/2*(2*50+(11-1)*50)))))))/2*(90)/((((C3+((C4-C3))/10)))*((((1+(E3/10)+(E4/10)+(E5*0.005)+(E6/10))))))/(1+G3/100))/(60*60*24)

    Hey Chemist, I am having trouble sending a private message, when i look in the sent section nothing shows up, I put an attachment here, i hope it is easy to understand. Any questions please private message me.
    Attached Files Attached Files

  18. #18
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Need help making a series

    If you change the formula in AA6 of Chemist's example workbook to:
    =TIME(0,0,SUM(AA4:AA5))

    this will change your seconds into a time value, you can then format this as a time with HH:MM:SS to get the answer displayed as you want.

+ 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. Replies: 0
    Last Post: 07-17-2014, 02:05 PM
  2. [SOLVED] Need Help in Making Series Number based on particular Column
    By Naveed Raza in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-06-2013, 06:10 AM
  3. Making a graph with selective data series?
    By jamesr13 in forum Excel General
    Replies: 0
    Last Post: 06-19-2012, 09:08 PM
  4. Making bubble charts with multiple series - BCG matrix
    By Pikka in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 05-31-2012, 10:21 AM
  5. Making a series graf Dotted
    By thedreamshaper in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-10-2010, 07:55 AM

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