Hi everyone,
I am trying to perform a vlookup based on multiple criteria.
In the attached spreadsheet, my data is represented in columns A:E. In columns H-N, I am trying to lookup up the "Rate" for all 4 items based on the "BT", "Code" and "Key" matching. However, I also want one of the criteria's to be if the BT Term Date = the Rate_Limit_Date OR, if they don't equal, I want to return the "Rate" value that was active at the time of the BT Term Date. Does that make sense?
For example, for the first item, there are multiple line items with a code of 3J03, so I would want to return the "Rate" of the line item where the BT matches "TI", Code matches "3J03", Key matches "FR" and where the Rate_Limit_Date is less than and as close to 12/31/2013 as possible.
Any suggestions?
Bookmarks