+ Reply to Thread
Results 1 to 4 of 4

auto populate a formula for rolling range of cells

  1. #1
    Registered User
    Join Date
    07-25-2014
    Location
    Rome
    MS-Off Ver
    2013
    Posts
    6

    auto populate a formula for rolling range of cells

    Hopefully someone on this forum can help me. I've already posted this same question on other forums, but nobody has even replied. I hope I don't stump y'all also.
    ( I even have a picture for you to look at to see what I'm referring to... )


    I have a column of values (E4:E87). I'm adding 1 value to this column manually each day...so tomorrow (July 24th) I will have E4:E88...and so forth. Each day is a new row.

    In column Z (i.e. cell Z87) I have the formula =(SUM(O53:O87))/(SUM(E53:E87)). Z88 will have
    =(SUM(somevalue:O88))/(SUM(somevalue:E88)). This gives me a resulting percentage for a rolling period of time.

    I need an automated way to populate "O53" and "E53" ("somevalue") in the formula so that the SUM of the current row's cell (i.e. E88) through [whatever] is 50 or greater. (The sum of the values should be as small as possible, but at least 50, and should not include any older values than absolutely necessary for it to equal at least 50.)

    An image of my spreadsheet can be viewed here:

    http://goo.gl/1tw4mI



    Thanks for your help!

    -rbtfinley

  2. #2
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: auto populate a formula for rolling range of cells

    I need an automated way to populate "O53" and "E53" ("somevalue") in the formula so that the SUM of the current row's cell (i.e. E88) through [whatever] is 50 or greater. (The sum of the values should be as small as possible, but at least 50, and should not include any older values than absolutely necessary for it to equal at least 50.)

    will you elaborate this paragraph...?

    we didn't understand that..


    Regards

    Vikas Gautam

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: auto populate a formula for rolling range of cells

    Yes. I agree with Vikas!!! However I would add that jpgs aren't much use... Can you post an Excel sheet instead?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    07-25-2014
    Location
    Rome
    MS-Off Ver
    2013
    Posts
    6

    Re: auto populate a formula for rolling range of cells

    The cells referenced by O53 & E53 should be different for each row...depending on how many rows it takes to have the value be at least 50.

    On row 87, the sum of rows 87 thru 53 (column E) are needed for the value to equal or be greater than 50.
    On row 86, the sum of rows 86 thru 53 (column E) are needed for the value to equal or be greater than 50.
    However, On row 85, the sum of rows 85 thru 52 (column E) are needed for the value to equal or be greater than 50.

    Copy of spreadsheet for you to see:
    https://dl.dropboxusercontent.com/u/...readsheet.xlsx

    Thank you!
    -rbtfinley

+ 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. Auto-populate lookup formula based on previous cells
    By Homeslice01 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-23-2013, 11:09 PM
  2. [SOLVED] Auto populate cells from data in a 6 month range starting with the current month
    By ecarnley349 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-21-2012, 07:32 PM
  3. Auto populate cells from a formula in an external cell
    By WILD CAT in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-24-2012, 08:16 PM
  4. Replies: 2
    Last Post: 01-26-2011, 11:16 AM
  5. how to auto populate charts based on rolling data
    By annonymouse in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 08-07-2009, 11:22 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