I want the following outcomes when a user enters a Supplier ID:
- If the ID is an ID found in the reference sheet: Associated supplier name
- If the ID is not an ID found in the reference sheet: "Check supplier ID"
- If text is input: Text input
Here is my current formula - Issue is "ISTEXT" formula considers "000012345" as text and not a number. How do I alter so my formula can decipher true text from a supplier ID. All supplier IDs will have a varying amount of leading zeros.
=IF(AND([Supplier ID]@row = "", Status@row <> ""), "TBD", IFERROR(VLOOKUP([Supplier ID]@row, {Active Supplier List}, 2, false), IF(ISTEXT([Supplier ID]@row), [Supplier ID]@row, "CHECK SUPPLIER ID")))
Thanks