Hi,
I still can't help thinking that this could be simplified considerably by adding an additional column A to your data on sheet2. So A4 copied down
Formula:
=E4&"_"&F4&"_"&D4&"_"&C4
I'm assuming you're wanting to know whether the values in P3:P6 on sheet 1 are present in the Sheet2 table, hence a simple
Formula:
=MATCH(P3&"_"&P4&"_"&P5&"_"&P6,Sheet2!$B$4:$B$35,FALSE)
will return the row number if those P3:P6 values are present. And if you want to return a value of 1 if they're not then wrap it in an IF(ISERROR()) function
i.e.
Formula:
=IF(ISERROR(MATCH(P3&"_"&P4&"_"&P5&"_"&P6,Sheet2!$B$4:$B$35,FALSE)),1,"")
Bookmarks