I have a database in excel that I converted to “Excel Tables” to eliminate the many dynamic named ranges I was using.
My next goal is, FROM A DIFFERENT WORKBOOK to lookup data in the database of Excel Tables WITHOUT AN ARRAY FORMULA { Ctrl-Shft-Enter }.
(I realize INDEX is technically an array but not for the purposes of this conversation.)
I found a solution but it only works with exact matches and I need it to match on >=.
(BTW, There are four columns involved and it is simply not possible to sort all data ascending or descending in every column of interest at once.)
See the workbook attached. (In the sample attached workbook the table resides in the same workbook as the formula.)
*********
For those not willing to open the workbook I will attempt to describe:
Table1 Column Headings:
T....W...L..G..C
187 4 10 36 1
.187 6 20 36 2
.250 4 10 36 3
.250 6 20 36 4
This works for an exact match:
=INDEX(Table1[[#All],[C]], MATCH(J1&J2&J3&J4, INDEX(Table1[[#All],[T]]&Table1[[#All],[W]]&Table1[[#All],[L]]&Table1[G],),0))
Search Criteria of .187, 6, 20, 36 correctly returns 2.00 from column heading “C”
How to obtain the same result using search criteria of .187, 5, 20, 36
“5” should match the row containing 6 in “W” as 6 >= 5 and return 2.00 from column heading “C”
I tried adding >=J2 with no luck.
= INDEX(Table1[[#All],[C]], MATCH(J1& ">=J2” &J3&J4, INDEX(Table1[[#All],[T]]&Table1[[#All],[W]]&Table1[[#All],[L]]&Table1[G],),0))
Bookmarks