I have an Index match formula that is looking at sheet1, column C, and matching criteria from sheet2 column E; however, I need it to look at both E and F for matches. I'm thinking I need some kind of "and/or" nested statement, but I'm lost.
Column C (sheet1) is a combination for ID#'s and license plate numbers, column E (Master trk list linked) is license plate numbers, F(Master trk list linked) is ID#'s. If C, matches E and/or F, it should return column A(Master trk list linked) which is a truck#.
I can get the value if I only look at one column, but I need it to look at both. The formula below is what I have. Note: in addition I have a wildcard in place because sheet2's values are partial numbers; and I have an IFERROR to return another value if there is no match.
=IFERROR(INDEX('Master trk list linked'!A:A,(MATCH("*"&RIGHT(C1167,7)&"*",'Master trk list linked'!E:E,0))),"company expense")
Thanks in advance for your help.
Bookmarks