
Originally Posted by
CAntosh
Try the formula below in E4. It should be array-entered (confirmed with Ctrl + Shift + Enter instead of Enter):
=IFERROR(INDEX(COMM_TABLE[% of Media],MATCH(1,(COMM_TABLE[Client]=B4)*(COMM_TABLE[Project Code]=C4)*(COMM_TABLE[Min Spend]<=D4)*(COMM_TABLE[Max Spend]>=D4),0)),"No Match")
It should return the match that fits the choices in B4:D4.
EDIT: Here's an alternative that addresses the "And Up" text a bit more explicitly. It should also be array-entered.
=IFERROR(INDEX(COMM_TABLE[% of Media],MATCH(1,(COMM_TABLE[Client]=B4)*(COMM_TABLE[Project Code]=C4)*(COMM_TABLE[Min Spend]<=D4)*((COMM_TABLE[Max Spend]>=D4)+(NOT(ISNUMBER(COMM_TABLE[Max Spend])))>0),0)),"No Match")
Bookmarks