- Why does ISLOGICAL return FALSE when my cell contains 'true' or 'false' in quotes?
- ISLOGICAL only recognizes actual logical values (TRUE or FALSE), not text strings. Excel and Google Sheets treat the text string "true" differently from the boolean TRUE. If your completion status column was filled by typing text, you'll need to convert it using VALUE or a SUBSTITUTE formula before ISLOGICAL will recognize it.
- Can I use ISLOGICAL to validate a checkbox column?
- Yes. Checkbox columns store actual TRUE or FALSE values, so ISLOGICAL returns TRUE for them. Wrap ISLOGICAL in IF to create a data quality check: any non-boolean entries (numbers, text, missing values) will be flagged, helping you identify incomplete task assignments or data-entry errors.
- What's the difference between ISLOGICAL and using IF(E2)?
- IF(E2) treats any non-zero number and any non-empty text as TRUE and returns FALSE only for zero, empty cells, FALSE, and error values. ISLOGICAL returns TRUE only for the actual logical value TRUE and returns FALSE for everything else. Use ISLOGICAL when you need to verify the exact data type; use IF when you need to test truthiness.
- How do I count cells that are NOT logical values to find incomplete data?
- Use =SUMPRODUCT(--(NOT(ISLOGICAL(E2:E6)))) or equivalently =SUMPRODUCT(--(ISLOGICAL(E2:E6)=FALSE)). This counts cells containing numbers, text, errors, or empty cells, helping you identify how many tasks have improperly formatted completion statuses that need correction.