+ Reply to Thread
Results 1 to 4 of 4

Rolling Calculation

  1. #1
    Registered User
    Join Date
    10-21-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Rolling Calculation

    Hi there,

    To be honest, I'm not even sure the correct term for this is a Rolling Calculation - it may be something entirely different, but if it is slightly misleading, then it's due to my own lack of knowledge, rather than anything more mischevious!!

    I'm currently working on a spreadsheet which illustrates our sales on a Daily basis, vs. Target, among other things.

    What I have is one column with Target figures in (for every day of the year) and the achieved/actual figure in the next column. At the end of each month is a total figure and a YTD figure. I want the YTD figure for the Target column to only total up to the point where there is an equivalent Actual figure, so I have a like for like comparison, year on year.

    I have attached a sample of this spreadsheet, so as to make some sense of the nonsense I've attempted to outline above!!

    If anyone can help with this little conundrum, it would be greatly appreciated.

    Many Thanks,

    Northumberland81
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,422

    Re: Rolling Calculation

    It would be better if you had actual dates rather than day numbers - then you could use a SUMIF formula. It would also be better if you put your totals in a separate column so that you didn't need to keep inserting them after every month. You could put them in a summary table which showed each month and the totals for each month.

    Hope this helps.

    Pete

  3. #3
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Rolling Calculation

    I agree with Pete, a slight rearrangement of the sheet would make life easier for this, but I know that's not always possible.

    If this is one of those cases where that's not possible, you could always try the approach in the attached.

    Hope that helps.

    S.
    Attached Files Attached Files
    If I've been of help, please hit the star

  4. #4
    Registered User
    Join Date
    10-21-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Rolling Calculation

    Thanks Pete and Spencer - in the original version I have on my laptop, I do use dates. I had tried using the SUMIF formula, but to no avail.
    The solution you provided in your response, does the trick, so thank you for that.
    At the moment, the current spreadsheet covers staff hours/cos, footfall to the business and then sales targets/achieved. Ideally, I'd like to arrange the data eventually, so I can use something akin to a dashboard, to drop down and find any combination of results I need (Spend per head, average transactional value etc) - but I imagine that's a much longer conversation for another day!

    Thanks to you both for you help and advice with this, much appreciated.

+ 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