lookup with multiple criteria including date range

pcorpz

Active Member
Joined
Oct 29, 2004
Messages
324
Hi mvps! My goal is to find out the vendor that the customer ordered from. In my lookup table (AP Report), I have the vendor name, and my criteria columns: customer name, itemnumber and the posting date. The customer and item number are exact matches, the posting date however, can be the same day, or 5 days after it was ordered. I use vlookup all the time but i'm thinking index, match.. and array formula is needed for this but no idea how to apply it!..would really like some help!
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
I think you will need to post a sample of data, and a possible need / outcome result for us to at least what is required
 
Upvote 0
I think you will need to post a sample of data, and a possible need / outcome result for us to at least what is required
Here are screenshots of my workbook: (sorry, I used the img tags but doesn't seem to work, ill post the links instead)

lookuptableap.PNG

https://www.dropbox.com/s/t7m7vmjmehg4h8v/lookuptableap.PNG
Above is the lookup table (AP report)

salesreport1.PNG

https://www.dropbox.com/s/yzds6xr7dz2kimp/salesreport1.PNG
Above is where I want the value to show..
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,242
Members
452,623
Latest member
russelllowellpercy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top