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?
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?
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
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.
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
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.
not quite sure i understand the logic used cara. could you explain?
Explain what ?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks