I'm trying to write an index match formula for a downstream transaction sheet in which if payment date is not found on sheet 1 it would be pulled from sheet 2. I tried the below IF INDEX MATCH formula but got an #INVALID REF error.
=IF(INDEX({Payment Date}, MATCH(Invoice Number, {Invoice Number }, 0)) = 1, INDEX({Payment Date}, MATCH(Invoice Number Final, {Invoice Number Final}, 0)))
Any thoughts?