+ Reply to Thread
Results 1 to 2 of 2

Sum data from all workbooks

  1. #1
    Registered User
    Join Date
    11-07-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    2

    Sum data from all workbooks

    Hi guys,

    i'm very new to vba and thus would appreciate any advice from you guys on this. There are several workbooks in 1 folder, all containing 1 spreadsheet per workbook. Lets say e.g. each workbook represents a salesperson's sales record over a period of time. The format within each spreadsheet is the same e.g. 4 columns:
    - 1st column containing sequence of dates,
    - 2nd column contains revenue recorded for each date,
    - 3rd column - expenses,
    - 4th - profit/loss (derived from 2nd column - 3rd column).
    The idea is to consolidate these into a master workbook that sums up all the data for all salespersons each day. In addition, the master workbook would have a 5th column that counts the number of salespeople who made a profit each day (if there are 5 salesmen with a positive number in the 4th column on day1, then this cell value should be 5) and a 6th column that counts number who made a loss each day (the inverse of 5th column).
    Thank u for any help in advance!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    11-07-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Sum data from all workbooks

    Forgot to mention the version i'm on is excel 2007. thanks

+ 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