I'm trying to create a formula that will return a result based off of a match in 3 columns in a row and if that doesn't match then I want the third column result to default to a variable of $$$$$. I have attached an example.
In the example attached I want to return a value from column K "Result/TableID from the table on the workbook listed "StaticTable" into cell 3F on the variable table workbook based off of a match on column A,B,C,D, and E being a date (from Variable workbook) I want to fall in between column E and F in the static table.
my first problem:
I want to match on the first three columns from the variable table first (product, plan, state) the problem with this is the variable table will list all of the states and the static table lists a few states and then defaults to a $$$$$ variable for all others. an example of this would be FRE, +, IA. If you view this selection on the StaticTable it will not be listed because I would want it to match on FRE,+,$$$$$ on the static table. If I had FRE,+,CT it does match on the first three columns and I would want that returned.
Second issue which is not as important because I can take out the date range if I have to. I want the Bonus Rate Date from the variable table to bring back a result from the static table that is between or = to the date between column E and F (static table)
In short I want to match 3 columns to 3 and if the 3 columns don't match match the first 2 and default the value for the third column to $$$$$ and match the date to be between Bonus Rate date and Bonus Rate End Date.
Any help is truly appreciated.
Bookmarks