+ Reply to Thread
Results 1 to 7 of 7

Help with Vlookup and dates

Hybrid View

  1. #1
    Registered User
    Join Date
    06-26-2019
    Location
    georgia
    MS-Off Ver
    o365
    Posts
    9

    Help with Vlookup and dates

    So i am working on 2 different spreadsheets. I need to be able to do a vlookup from the data sheet but only if the data is between certain dates. I have tried looking online for help but nothing specific pops up. Anyone know how to do this?

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Help with Vlookup and dates

    Two sheets in one file, or two separate files?

    Are you looking trying to return a single matching result or multiple results?



    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please don't attach a picture of an Excel sheet (no-one will want to re-type all your stuff before starting).

    1. It does NOT have to be your real sheet - mock up a SAMPLE if you need to. But not 1000's of rows!!! It makes manual checking so tedious. Whatever you do... make sure that all confidential information is removed first!!

    2. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    3. Make sure that your desired solution is also shown (mock up the results manually).

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,082

    Re: Help with Vlookup and dates

    Post a sample spreadsheet with expected results, remove any sensitive data, create a mockup example if necessary.
    Use the Go Advanced option at the bottom of the page then scroll down to Manage Attachments as the "paperclip" method does not work on this forum.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Registered User
    Join Date
    06-26-2019
    Location
    georgia
    MS-Off Ver
    o365
    Posts
    9

    Re: Help with Vlookup and dates

    So i am using 2 different files. One has the just the invoices and their data and the other has everything combined for the year. I have attached a sample of invoices file but will not be able to attachh the other as it has way to much info but basically just want to auto pull the info from the file that's attached. The File for the year has places for the Invoice number and amount so that is what i want it to pull but only if the data is between 2 dates for example only whats in May. Please let me know if there is any other info you may need.

    Thanks
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,998

    Re: Help with Vlookup and dates

    Vendors

    B1=IF($A1<>"",SUMPRODUCT((Invoices!$A$2:$A$4=Vendors!$A1)*(MONTH(Invoices!$B$2:$B$4)=5)*(Invoices!$B$2:$B$4<>"")*(Invoices!$D$2:$D$4)),"") copy down
    Last edited by CARACALLA; 06-26-2019 at 03:48 PM.

  6. #6
    Registered User
    Join Date
    06-26-2019
    Location
    georgia
    MS-Off Ver
    o365
    Posts
    9

    Re: Help with Vlookup and dates

    not quite sure i understand the logic used cara. could you explain?

  7. #7
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,998

    Re: Help with Vlookup and dates

    Explain what ?

+ 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. Vlookup between dates
    By jswainson in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-23-2020, 07:32 AM
  2. Replies: 3
    Last Post: 11-25-2015, 10:58 AM
  3. [SOLVED] Vlookup dates between two dates and count the number of days
    By nishikanth in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-28-2013, 03:25 AM
  4. VLookUp - using dates?
    By akhlaq768 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 07-27-2009, 09:23 AM
  5. [SOLVED] VLookUp with Dates
    By o1darcie1o in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 AM
  6. VLookUp with Dates
    By o1darcie1o in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 AM
  7. VLookUp with Dates
    By o1darcie1o in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM

Tags for this Thread

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