• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Quick Excel question

Delita

Senior member
I want to use some sort of binary expression to show that if one cell contains something then another cell will show some specified text. So something along the lines of

=if(cell contains content then "OK", cell is empty "Error")

Any suggestions?
 
Sure, you can use the IsBlank() function to test for an empty cell. So, this should do the trick:

=If(IsBlank(A1), "Error", "OK")

There are several other Is* functions that might be useful: IsErr, IsError, IsLogical, IsEven, IsOdd, IsNA, IsNumber, IsNonText, IsText, IsRef. Depending on your version of Excel, you may need the Analysis ToolPak add-in installed to have access to some of those.
 
Originally posted by: mayest
Sure, you can use the IsBlank() function to test for an empty cell. So, this should do the trick:

=If(IsBlank(A1), "Error", "OK")

There are several other Is* functions that might be useful: IsErr, IsError, IsLogical, IsEven, IsOdd, IsNA, IsNumber, IsNonText, IsText, IsRef. Depending on your version of Excel, you may need the Analysis ToolPak add-in installed to have access to some of those.

Cool. Thanks
 
Back
Top