Dear ExcelClass,
Good day to you and thanks for your post in Microsoft Community. I'm sorry for the inconvenience you've encountered.
For your issue, I would like to provide a way that can help you, please help me to check it in below:
- I have a sample table include code, start date and end date.
- In A17 when insert code "abc" it will return start date and end date of it
- My code: Start date=XLOOKUP(A17, tblAirports[code], tblAirports[start date], "Not found"). End date=XLOOKUP(A17, tblAirports[code], tblAirports[end date], "Not found")
My excel version is
If you cannot execute like me, please give me a screenshot your Excel version.
Please help me to check if my instruction can meet your requirement. I look forward to your information and if you have any questions, please feel free to reach out to me - I’ll be happy to assist you. Wishing you a wonderful day.
Best regards,
Daniel Vo - MSFT | Microsoft Community Support Specialist.