+ Reply to Thread
Results 1 to 2 of 2

Look up data excel files of a folder, output all matching data in master file

Hybrid View

dcj98gst Look up data excel files of a... 03-12-2012, 03:57 PM
JBeaucaire Re: Look up data excel files... 03-13-2012, 09:45 AM
  1. #1
    Registered User
    Join Date
    03-12-2012
    Location
    Philadelphia
    MS-Off Ver
    Excel 2003
    Posts
    1

    Look up data excel files of a folder, output all matching data in master file

    My office has weekly timesheets, a separate file for each week.

    The timesheets have project numbers in column B, a date (column A), a 2 digit number rate code (column C), and the time spent (column F).

    What I need is a macro program where I can enter the project number and it will will look up and retrieve the data in column A, C, and F for all the files.

    We are constantly creating new timesheets each week so it would need to know to look at all the files in the folder. The project numbers are five digit numbers.

    For example:

    Input:
    Project No. 23023

    Output:
    Date, rate code, time spent
    Date, rate code, time spent
    etc.

    Is there a way to do this?

    Thanks

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Look up data excel files of a folder, output all matching data in master file

    1) as the new timesheets come in, copy the data from that file into your new master workbook so all data is in an actual database.
    2) With titles in row 1, click on that row and turn on the Data > Autofilter
    3) Now you can use the column B drop down to select any project and it will display those rows to you, work with those rows (edit, copy, print, etc...)

    Then you can change to a different filter or ALL again to return to normal display.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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