+ Reply to Thread
Results 1 to 4 of 4

How to handle reports with the help of functions where data linked to multiple files

  1. #1
    Registered User
    Join Date
    07-06-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    73

    How to handle reports with the help of functions where data linked to multiple files

    Many of us may be using functions like sumproduct (works on closed database, therefore preferred), sumif etc. to generate various type of outputs.

    I have been using a Sales Report which uses input database having three sheets with data ranging from A1 TO CB4000 (Similar cell range in all three sheets). This data is available in different monthly files say Sales April, Sales May etc.total 12 files for particular year.

    While calculating Sales report for particular Sales code, I am using sumproduct function (as there is no need to keep all files open at same time as and when I open this sales report file) with some criteria. While going forward, Sales report would display all months output. I need to maintain Month wise sales one after other.

    When I open this report file it calculates for all cells every time, excel takes very long time to open.

    I tried to copy all database in this report file so as to avoid opening of multiple files, but this is getting bulky and not feasible.

    How to handle such situation so that the Report File would open and calculates fast.

  2. #2
    Forum Contributor
    Join Date
    08-25-2015
    Location
    Near Pittsburgh, PA
    MS-Off Ver
    Excel 2013
    Posts
    152

    Re: How to handle reports with the help of functions where data linked to multiple files

    I work in accounting and work with similar files every month. The approach I found that works best is to keep all data in a single file. I copy and paste each month's data into a master file that has a new Col A (that is, the data is pasted started in Col B). I reserve Col A to enter this month's date for the corresponding lines.

    This data is organized as a DATA TABLE (one header row, no blank rows, etc)

    Then I use various Pivot Tables to present my reports, stored on additional worksheets.

    Each month new data is pasted at the bottom of the DATA TABLE, date typed/copied down Col A, then I just REFRESH ALL and all pivot tables refresh to show the new data. Takes only about 2 min per month once set up.

    Hope this helps!

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,964

    Re: How to handle reports with the help of functions where data linked to multiple files

    Can you share spme of your formulas? SP can become very resource-heavy and slow your file down if used over large ranges
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    07-06-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    73

    Re: How to handle reports with the help of functions where data linked to multiple files

    SUMPRODUCT(('C:\Documents and Settings\AB\Desktop\Office\Industry Distributor Data\[Distributor Data-February 2016-RoMG.xls]GS Feb 16'!$M$4:$M$3334)*('C:\Documents and Settings\AB\Desktop\Office\Industry Distributor Data\[Distributor Data-February 2016-RoMG.xls]GS Feb 16'!$A$4:$A$3334=$A$1))/100

    This is being used to fetch details of a particular agent which is at A1 and the report runs for around 12-15 heading stored vertically and for each Months which are stored horizontally (april to march). While I continue to show details for all months, for each and every heading vertically and for all months, (which is linked to that particular month), formula gets calculated when I open a file. Of course, when it gets opened and I change agent name, the output is displayed fast.

+ 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. Multiple formulas/functions within 2 linked workbooks
    By jacestar11 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-29-2015, 01:56 PM
  2. Handle data from multiple excel files
    By Taj48 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-19-2014, 10:26 AM
  3. Replies: 0
    Last Post: 08-11-2013, 08:12 PM
  4. Replies: 3
    Last Post: 06-20-2013, 09:23 AM
  5. [SOLVED] fastest way to handle multiple files
    By gr8wi9 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-17-2012, 01:41 PM
  6. Lookup Functions to find data in multiple files
    By TAFKADaz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-08-2009, 09:41 PM
  7. linked data and pivot reports
    By Ricoy-Chicago in forum Excel General
    Replies: 3
    Last Post: 07-27-2006, 03:45 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