When a cell containing an empty string (or any text, for that matter) is compared (in another cell) to see if it’s greater than some number (say 1, for example), the result is TRUE. Can anyone provide an explanation for this behavior?
In logical expressions comparing cell values to numbers, truely blank cells appear to be treated as if they contain the value zero (which makes sense). Why can’t cells containing text (empty strings or otherwise) be treated the same way?
Why would one want to compare numbers to empty strings?? Normally you wouldn’t, but I’ve moved over the results of a crosstab query from MS Access. The blank cells in the table are not blank (ISBLANK(A1) returns FALSE), but appear to be empty strings (A1=”” returns TRUE). When using array formulas to evaluate the range of cell values (e.g., “how many of the cells have values greater than 50?”), the blank cells are messing up the results of the formulas because of the above behavior. If Access populated these cells with zeros instead of blanks, this particular problem would go away, but Excel’s peculiar (to me, anyway) behavior is still there.
Thanks.