excel.jpg
My original formula looks like this.
=LOOKUP(2,1/COUNTIF(SHEET1!A1,{"TEST1","TEST2"}),{"T1","T2"})
And this works fine but I would like to use the INDIRECT function inside this LOOKUP function. So it would work like this formula.
=LOOKUP(2,1/COUNTIF(SHEET1!A1,{"INDIRECT("D1")","INDIRECT("D1")"}),{"T1","T2"})
I know this second formula is not correct but I am not sure how to get this to work.
Thanks for any help.
TESTBOOK1.xlsx
Bookmarks