Hi! I'm trying to use the following function to test the contents of a cell and generate a code based on the value of less than, equal to or greater than zero. If there is no data in the cell then I want a a blank or error. It works ok when there is number data in the target cell, but when there's a blank I get a code and I don't understand why. This might be simple but I' missing it. I searched the forum and didn't find anything that I could easily relate to.
=IF(J2>0,"Incr",IF(J2=0,"NoChg",IF(J2<0,"Decr","Error")))
Thanks in advance D
Bookmarks