I have a spreadsheet with a lot of different options for text and I need to analyze a cell and return a numeric value. I've tried nested IFs but that doesn't seem to work with text so I'm kind of stuck. Any help is greatly appreciated.
EXAMPLE:
Cell A1 could contain "None", "Non-sterile", "EO", "R", or "Temp"
I want to return a number into a different cell depending on what is in the first cell i.e. if "None" enter 0, if "Non-sterile" enter 1, if "EO" enter 2, if "R" enter 3, or if "Temp" enter 4.
This particular example has the most options. I have a lot of cells that are a simple IF X than 0, IF Y then 1 and those equations are working just fine. I just can't figure out how to return a value dependent on what text is in the cell. Do I need to make a table with these options and do a LOOKUP instead? If so, what's the best way to go about doing that as I've never used the LOOKUP function, I only know it exists.
TIA!
Pooch
Bookmarks