Logical Functions

Tips, Tricks, and Answers

The following articles are available for the 'Logical Functions' topic. Click the article''s title (shown in bold) to see the associated article.

   Colors in an IF Function
You can use the IF worksheet function to test for a number of different conditions or values. You can't use it to check for cell colors, however. Here are some ideas on how you can take cell colors into account in the IF function.

   Leaving a Cell Value Unchanged If a Condition Is False
Ever want the IF function to only return a value if the condition it is testing is true, and not if the condition is false? This tip explains how this function works and what you can do to only return what you are looking for.

   Nesting IF Worksheet Functions
The IF worksheet function is very handy to make conditional evaluations. You are not limited to a single IF comparison, however. Excel allows you to easily nest IF statements within each other.

   Using the IF Worksheet Function
Programmers know that a staple of any language is the ability to create conditional statements. Excel understands this, as well, so it provides the IF worksheet function that allows you to evaluate an expression and thereby conditionally choose a result.

This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.