1. Home
  2. Computing & Technology
  3. Spreadsheets

Logic Function Comparison Operators

By , About.com Guide

The Logic Test

Excel's logic functions always involve a comparison between two values. The logic test can only return a true or false answer, depending on the condition tested.

The Comparison Operators

The comparison operators that can be used in a logic test are:

Equals ( = )

Less than ( < )

Less than or equal to ( < = )

Greater than ( > )

Greater than or equal to ( > = )

Not equal to ( < > )

Examples

The logic test can be a comparison between two cell references such as:

A3 > B3

Or the logic test can be a comparison between a cell reference and a fixed amount such as:

C4 < = 100
More Spreadsheets Quick Tips
Explore Spreadsheets
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Spreadsheets
  4. Excel Functions
  5. IF Functions
  6. Logic Function - Comparison Operators - Using Comparison Operators in Excel Logic Functions

©2009 About.com, a part of The New York Times Company.

All rights reserved.