+ Reply to Thread
Results 1 to 3 of 3

Vlookup is not and date range

  1. #1
    Registered User
    Join Date
    10-24-2009
    Location
    Southampton, England
    MS-Off Ver
    Excel 2003
    Posts
    28

    Vlookup is not and date range

    Hi All

    I have a workbook with many worksheets one master with data updated from access when opened. I need to populate different work sheets with data from the master.
    I need to add all rows from master sheet to worksheet when certain conditions are met. These are is value=1 in column a is not value=1 in column b and is between date range (01/01/2011 to 31/01/2011) in column c.
    The amount of rows may vary can be 1 or 10 rows to copy to worksheet.

    I hope you can understand what I require.

    I will attach a sample work book.
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,514

    Re: Vlookup is not and date range

    I can't do anything with this at the moment but, in the meantime, look at SUMPRODUCT.

    Search this forum and/or Google for examples.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Vlookup is not and date range

    If you have a sheet per Unit Code you will want to ensure the calcs are lightweight.
    To that end you will want to create an index key on your Database sheet related to Unit Code & Date that permits efficient data retrieval (ie INDEX & MATCH based).

    However, IMO, you would be far better off using a single Pivot Cache with a Pivot Table for each UnitCode (set as Page Field / Report Filter).
    Whether or not you would be willing to accept a PT layout is obviously open to question but it would be a far more logical approach.

+ 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