Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How To Sort One Column or Multiple Columns in Excel
  • Error Bars in Excel
  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • How to calculate average last N values in a table in Excel
  • Reverse List in Excel

References

  • How to get address of last cell in range in Excel
  • How to create dynamic named range with OFFSET in Excel
  • How to get last column number in range in Excel
  • How to get first column number in range in Excel
  • How to get last row in numeric data in Excel

Data Validations

  • Excel Data validation allow uppercase only
  • Excel Data validation date in next 30 days
  • Excel Data validation don’t exceed total
  • Excel Data validation must begin with
  • Excel Data validation date in specific year

Not Equal To ‘<>‘ operator in Excel

by

In Excel, <> means not equal to. The <> operator in Excel checks if two values are not equal to each other. Let’s take a look at a few examples.

1. The formula in cell C1 below returns TRUE because the text value in cell A1 is not equal to the text value in cell B1.

2. The formula in cell C1 below returns FALSE because the value in cell A1 is equal to the value in cell B1.

3. The IF function below calculates the progress between a start and end value if the end value is not equal to an empty string (“”), else it displays an empty string (see row 5).

Note: visit our page about the IF function for more information about this Excel function.

4. The COUNTIF function below counts the number of cells in the range A1:A5 that are not equal to “red”.

Note: visit our page about the COUNTIF function for more information about this Excel function.

5. The COUNTIF function below produces the exact same result. The & operator concatenates the ‘not equal to’ operator and the text value in cell C1.

6. The COUNTIFS function below counts the number of cells in the range A1:A5 that are not equal to “red” and not equal to “blue”.

Explanation: the COUNTIFS function in Excel counts cells based on two or more criteria. This COUNTIFS function has 2 range/criteria pairs.

7. The AVERAGEIF function below calculates the average of the values in the range A1:A5 that are not equal to 0.

Note: in other words, the AVERAGEIF function above calculates the average excluding zeros.

Post navigation

Previous Post:

VLOOKUP without #N/A error in Excel

Next Post:

Manipulating text strings using Left, Mid, Right, Len, Substitute in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • OR function: Description, Usage, Syntax, Examples and Explanation
  • Invoice status with nested if in Excel
  • How to use Excel TRUE Function
  • IF, AND, OR and NOT Functions Examples in Excel

Date Time

  • Get week number from date in Excel
  • Display Date is same month in Excel
  • Get first day of month in Excel
  • Get age from birthday in Excel
  • Add business days to date in Excel

Grouping

  • Group arbitrary text values in Excel
  • Categorize text with keywords in Excel
  • Running count group by n size in Excel
  • How to randomly assign data to groups in Excel
  • Group times into 3 hour buckets in Excel

General

  • Find, Trace and Correct Errors in Excel Formulas using ‘Formula Auditing’
  • Count cells that do not contain errors in Excel
  • Index and match on multiple columns in Excel
  • Subtotal invoices by age in Excel
  • How to test a range for numbers in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning