Lookups with multiple criteria and date ranges

Mason Green

New Member
Joined
Sep 24, 2018
Messages
1
Hey guys, I have an issue I can't seem to figure out how to accomplish. I have two tables of transaction data. I want be able to look up if a certain transaction on table 1 (We'll Transaction A) is on table 2 BUT only if it occurs within 30 days of transaction 1 AND is within +-$500 of Transaction A.

Example: Transaction A on Table 1 = 14,500 and occurred on 2/1/2011. I want to know if there is a transaction between 14,000 and 15,000 that occurred between 2/1/2011 and 3/1/2011.

I know how do something similar using a Database function like DGET(), but that only works for a single transaction. I need a formula I can drag down for each of my transactions on Table 1.

Hopefully that makes sense.

Thanks,
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,214,585
Messages
6,120,397
Members
448,957
Latest member
Hat4Life

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