+ Reply to Thread
Results 1 to 9 of 9

How to Create a Rolling Summary Page that Automatically Updates from a Data Table

  1. #1
    Registered User
    Join Date
    06-20-2013
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 2010
    Posts
    19

    How to Create a Rolling Summary Page that Automatically Updates from a Data Table

    I currently have a file with a large table which commodity prices are added to on a daily basis. The data from this sheet is then pulled onto a summary sheet that displays the most current three day's prices.

    Currently I do not have a formula, so I go to the summary sheet everyday, delete the row at the top of the summary, insert a row below the last entry, and then pull down the last entry to display the current day. I have to do this to multiple rows everyday, and it often results in errors when others have to do it.

    Is there a formula that I can use that will allow excel to do this for me? I have attached an example file that further illustrates what I mean.

    Thanks a lot to anyone who can help me out!
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to Create a Rolling Summary Page that Automatically Updates from a Data Table

    Quote Originally Posted by DontExcelAtMuch View Post
    I currently have a file with a large table which commodity prices are added to on a daily basis. The data from this sheet is then pulled onto a summary sheet that displays the most current three day's prices.
    So today you need to see results for 25/06,26/06,27/06... Correct? Because in your Example i see results for

    21/06,24/06,25/06 and not 26&27/6
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

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

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    06-20-2013
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: How to Create a Rolling Summary Page that Automatically Updates from a Data Table

    Yes, the 25, 26, and 27th. And then later today I will enter in data for the 28th, so I need it to update to show the 26, 27, and 28th. Sorry about that!

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to Create a Rolling Summary Page that Automatically Updates from a Data Table

    So let's try this. In Summary sheet.

    In A6 this ARRAY formula.

    =INDEX('Data Sheet'!$A$3:$A$3000;SMALL(IF('Data Sheet'!$A$3:$A$3000>=TODAY()-3;ROW('Data Sheet'!$A$3:$A$3000)-2);ROW('Data Sheet'!A1)))

    Copy down.

    In B6

    =SUMIF('Data Sheet'!$A$3:$A$3000;$A6;'Data Sheet'!B$3:B$3000)

    Copy down and across.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-20-2013
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: How to Create a Rolling Summary Page that Automatically Updates from a Data Table

    Close, but when I enter data into the row for the 28th the Summary sheet doesn't update. Nothing happens if I were to add more days either... 29th, 30th

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to Create a Rolling Summary Page that Automatically Updates from a Data Table

    =INDEX('Data Sheet'!$A$3:$A$3000;SMALL(IF('Data Sheet'!$A$3:$A$3000>=TODAY()-3;ROW('Data Sheet'!$A$3:$A$3000)-2);ROW('Data Sheet'!A1)))

    Formula gives results for last 3 days. Not Today date. Tomorrow will show results for 26/06,27/06;28/06....

    If you need results for 3 days plus today, make the red part of the formula, 4. Not 3.

  7. #7
    Registered User
    Join Date
    06-20-2013
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: How to Create a Rolling Summary Page that Automatically Updates from a Data Table

    Is there any way this can be done without the =TODAY function? Because I'm worried that if I open this on a day that isn't actually today, it will change everything on the summary sheet. Also, only Bank Trade days are shown in my data, so when a formula counts back from today, and gets to a weekend (which isn't included in the data), won't that mess things up? For example, on Monday it should show Monday 1st, Friday 28th, and Thursday 27th. Won't a count back from the =TODAY function mess this up?

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to Create a Rolling Summary Page that Automatically Updates from a Data Table

    Then simple in A6 use this and copy down..

    =LARGE('Data Sheet'!$A$3:$A$3000,ROW(A1))

  9. #9
    Registered User
    Join Date
    06-20-2013
    Location
    Calgary, Canada
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: How to Create a Rolling Summary Page that Automatically Updates from a Data Table

    That should work great for what I'm doing. Thanks a lot!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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