ssushant77
New Member
- Joined
- Nov 5, 2012
- Messages
- 1
Hi,
I have two database, let's say DBA and DBC.
Both the databases have invoice numbers as common while DBC has additional filed of Sale Date while DBA has additional field of Purchase Date.
I want to run vlookup on DBA by basing on the invoice number so that the following output is delivered:
Pick the matching invoices from DBC and wherever the invoice number of DBA matches with the invoice number of DBC, pick the number only if the purchase date in DBA is less than sale date in DBC.
How do I use the vlookup function to get the above result?
I have two database, let's say DBA and DBC.
Both the databases have invoice numbers as common while DBC has additional filed of Sale Date while DBA has additional field of Purchase Date.
I want to run vlookup on DBA by basing on the invoice number so that the following output is delivered:
Pick the matching invoices from DBC and wherever the invoice number of DBA matches with the invoice number of DBC, pick the number only if the purchase date in DBA is less than sale date in DBC.
How do I use the vlookup function to get the above result?