I have attached the sample file where am trying to look up expiry date based on emp code and card type. I have mentioned the manual result for better understanding.