+ Reply to Thread
Results 1 to 8 of 8

Adding Monthly Refresh of Data

  1. #1
    Registered User
    Join Date
    08-25-2008
    Location
    Michigan
    Posts
    9

    Adding Monthly Refresh of Data

    Hello Everyone,

    I've searched the forum but have not been able to find a solution that I can adapt. Here is my problem:

    I have a set of data (company, date contacted, PI Total, and PO Total) that is entered periodically in the spreadsheet. On a monthly basis, I'd like the PI totals and # of companies in the database to be summed automatically and have a new row created to store the data. Does anyone on this forum know how I might do this?

    Thanks,
    Matt
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,594

    Re: Adding Monthly Refresh of Data

    Try this in B15 =SUMPRODUCT(--($B$3:$B$8<=$A15))
    and in C15 =SUMPRODUCT(--($B$3:$B$8<=$A15);$C$3:$C$8)

    (replace ; with , in second formula if needed)

  3. #3
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: Adding Monthly Refresh of Data

    Didn't entirely understand but try this in B15

    Please Login or Register  to view this content.
    And in C15

    Please Login or Register  to view this content.
    Copy 'em down
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Adding Monthly Refresh of Data

    not sure if you need sumproduct at all!
    =COUNTIF($B$3:$B$10,"<="&A15)
    and
    =SUMIF(B$3:B$10,"<="&A15,C$3:C$10)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Registered User
    Join Date
    08-25-2008
    Location
    Michigan
    Posts
    9

    Re: Adding Monthly Refresh of Data

    Thanks for the help everyone. It is counting the companies and adding the numbers like I want, but I may not have been clear enough about the monthly update.

    I'd like for the data that has been entered in the 'Database' section to be collected every month (for example on the first of every month) automatically and summarized in the Database tracking section in a new row of data in the Database Tracking section.

    Do any of these functions accomplish that?

    Attached is the latest .xls with your suggestions implemented. Please let me know if you have any questions.

    Thanks,
    Matt
    Attached Files Attached Files

  6. #6
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Adding Monthly Refresh of Data

    I would use a Pivot Table based on a dynamic named range.

    See attached - sheet2.

    A dynamic named range was created for the database and used as the source for the pivot table.

    Dynamic Named Ranges automatically expand/contract as data are added and removed.

    You only need to right-click the pivot table and choose "Refresh" after making changes in the database.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    08-25-2008
    Location
    Michigan
    Posts
    9

    Re: Adding Monthly Refresh of Data

    Thanks alot!

  8. #8
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Adding Monthly Refresh of Data

    If you are satified with your answers please mark the thread as solved and be sure to rate the answers.

+ 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