I am writing a workbook for Managing Haz Waste. In this book, I use Chemical Abstract Service Numbers which are in the form of any of the following formats: XXXXX-yy-z, XXXX-yy-z, XXX-yy-z, or XX-yy-z. I have formatted the cells as text, but when a CAS # such as 75-08-1 is entered into the cell or when that text string is manipulated by excel, it tends to return the string as a Date (1975-08-1) and then translates it back to a serial number and displays that as text (27607).
I need to search on the string as originally entered and I cannot prevent excel from making this false decision on its own.
How can I keep a string such as 75-08-1 as text, rain or shine! Preferably without adding another character to the string.
Bookmarks