+ Reply to Thread
Results 1 to 3 of 3

Populate Table Based on Date, multiple matches, for production report

  1. #1
    Registered User
    Join Date
    09-06-2008
    Location
    Philly
    Posts
    40

    Populate Table Based on Date, multiple matches, for production report

    I've attached the file for a production operating report. (Woops, it exceeded the size. I delete all of the tabs that have the production data to make it smaller, hence the REF errors)

    What I'd like it to do is this:

    As you see when it opens, there is a barrier log to list barriers each shift encountered the previous night. However, I don't want them to type it in there as we will lose the data every day. I have a barrier log tab where I want the barriers entered so I can track them.

    So, if the report date is 6/25 (which is just a TODAY()), that means we are running it for our meeting the next morning. The barriers listed should be a lookup from the barrier tab for TODAY()-1.

    A vlookup obviously doesn't work because there would be multiple hits for each date. Any ideas? I have an idea this may be another index/match thing, but I've never been too good at that.

    Thanks!
    Attached Files Attached Files
    Last edited by ffmariners; 06-25-2010 at 09:19 AM.

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

    Re: Populate Table Based on Date, multiple matches, for production report

    see attached added helper column b on sheet barriers and waste issues! this can be hidden or use another column out of sight or even on another sheet!
    formula in report B56 nd C56 dragged down i wasnt sure which bits went where just change the last digit to match the column
    Attached Files Attached Files
    "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

  3. #3
    Registered User
    Join Date
    09-06-2008
    Location
    Philly
    Posts
    40

    Re: Populate Table Based on Date, multiple matches, for production report

    Thanks! Works.

    I actually had NOW() for todays date instead of TODAY().

    It wouldn't work with now, so I switched it to today and works like a charm. Good idea, wouldn't have thought of that method!

+ 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