+ Reply to Thread
Results 1 to 6 of 6

Complex Aggregations - Looking for Help

  1. #1
    Registered User
    Join Date
    05-23-2013
    Location
    atlanta, georgia
    MS-Off Ver
    Excel 2003
    Posts
    26

    Complex Aggregations - Looking for Help

    I am working on a dashboard for a large retailer. This retailer has seasonal spikes and is looking for the ability to smooth out the bumps in their trend lines. My idea is for any individual month to look at that month and the X preceeding months and average the numbers over that time period. I've been trying to figure out how to sum X months of data under a single month.

    For x=2, and the month of march 2013 this would mean, march 2013, february 2013, and January 2013 would all be summed together under the month of March. I am guessing I will need the help of some referential table that shows these one to many relationships but I am not sure how I would need to structure the query to get this to work.

    Please advise if you have any ideas,

    Thanks!

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Complex Aggregations - Looking for Help

    if you plot trendlines on a chart, a moving average is one of the default options available
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Registered User
    Join Date
    05-23-2013
    Location
    atlanta, georgia
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: Complex Aggregations - Looking for Help

    Is this in Access or Excel? Access is just serving as a database and I'm tapping it with excel. If excel has this functionality I will use it but how would i use access to do this for the frontend?

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Complex Aggregations - Looking for Help

    in excel. I assumed your dashboard was primarily charts-you can plot the actual data and add a rolling average trendline to the chart to smooth it

  5. #5
    Registered User
    Join Date
    05-23-2013
    Location
    atlanta, georgia
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: Complex Aggregations - Looking for Help

    It is mostly chart based but these charts are also paired with tables for numeric data. I looked at what excel has for this (and it is kinda nifty) but doesnt quite meet my needs as it cannot use data from outside the shown window to calculate rolling numbers. I am trying to show a 13 month window with each of those 13 months being the average of the 12 before it. Let me know if that makes sense.

    Is there a way using a query to do that in access?

  6. #6
    Valued Forum Contributor xlbiznes's Avatar
    Join Date
    02-22-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2007
    Posts
    1,223

    Re: Complex Aggregations - Looking for Help

    Hi @Xcelguy,

    Let us assume that you have a field called Fld_Date ( Date Field) and the user enters the required month in Input_Date.

    Please Login or Register  to view this content.
    if you need to convert the hardcoded X value of 2 , you can create an array of 12 items to store the values of X.

    Hope this helps.
    Happy Computing ,

    Xlbiznes.

    To show your appreciation please click *

+ 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. Complex Look Up
    By x168 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-30-2013, 10:08 AM
  2. Complex IF OR AND
    By firehousetk in forum Excel General
    Replies: 1
    Last Post: 11-03-2011, 04:59 PM
  3. Complex sum value
    By PJ83 in forum Excel General
    Replies: 3
    Last Post: 06-22-2011, 11:24 AM
  4. [SOLVED] Complex Index Match Help (or at least complex to me)
    By Jennifer Reitman in forum Excel General
    Replies: 3
    Last Post: 08-10-2006, 03:55 PM
  5. Complex look up
    By [email protected] in forum Excel General
    Replies: 3
    Last Post: 06-27-2005, 05: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