How to Check Not Equal To in Excel?

Excel is a powerful tool for data analysis and calculation, providing users with a wide range of functions to perform complex operations. One such function is “Not Equal To,” which is used to compare two values and determine if they are not equal. This function is particularly useful when working with large datasets, as it can quickly identify discrepancies and outliers in your data. In this tutorial, we will explore how to use the “Not Equal To” function in Excel and its various applications in data analysis.

This Tutorial Covers:

  1. Not Equal to in Excel
  2. How to Put “Not Equal To” in Excel
    • Example 1 – Implementing the “Not Equal To” Operator in Excel
    • Example 2 – Using String
    • Example 3 – Using IF Statement
    • Example 4 – Using the COUNTIF Function
  3. What You Should Know About Not Equal To in Excel
  1. Not Equal To in Excel:

A logical operator in Excel called “not equal to” is used to compare two numerical or textual values. It is written using a pair of angle brackets that point away from one another (much like >). The “not equal to” Excel symbol will result in either of the two possible Boolean values (true or false).

  • True signifies that the two values being compared are neither equal nor different.
  • False signifies that the two values being compared are identical or equal.

For instance, “=10>5” yields “true” since the integers 10 and 5 are not equal to one another (ignore the double quotation marks).

In the arguments of various Excel functions, the phrase “not equal to” is used. The “not equal to” operator is used to determine whether or not two values are different. However, this operator does not express the size of the difference.

  1. How to Put “Not Equal To” in Excel?

Excel Not Equal To operator is quite intuitive and straightforward to use. Let’s look at some instances to better grasp how Excel’s “Not Equal To” Operator functions.

  • Example 1 – Implementing the “Not Equal To ” Operator in Excel:

We’ll demonstrate how to use the Excel Not Equal To the logical operation in this example.

Suppose you run a small business that sells fruits and vegetables. You want to keep track of your daily sales and inventory using an Excel sheet. Below is a table that shows the sales and inventory of fruits and vegetables for a day:

Check Not Equal To

To check if the sales and inventory of each item match, you can use the Not Equal To in Excel. In this case, you want to check if the sales of an item are not equal to its inventory.

The steps to check if the sales of an item are not equal to its inventory using “Not Equal To” operator in Excel are described below:

Step 1: Create a new column named, Not Equal To “<>”.

Check Not Equal To

Step 2: Type the following formula in cell D2.

=B2<>C2

Check Not Equal To

So, as we can see in the above screenshot, we applied the formula as =B2<>C2 here, we can see that in the  B2 cell Sales is 20, and in C2 cell Inventory is 30, so the values are not match.

Excel will check if B3 values are not equal to C3, then it returns TRUE or else it will return FALSE.

Step 3: Press Enter key on your keyboard to apply the formula.

Check Not Equal To

Here in the above screenshot, we can see that Sales is not equal to Inventory, so we will get the output as TRUE, which is shown in the below screenshot.

Step 4: Drag down the formula for the next cell. So, the output will be as below:

Check Not Equal To

We can see that the formula =B3<>C3; in this case, Sales is equal to Inventory. So, excel will return the output as FALSE, as shown above.

Example 2 – Using String:

We’ll explore how the Excel not equal to operator behaves with strings in this example. Take a look at the example below, which features the book titles of two different writers.

Check Not Equal To

By doing the procedures listed below, we can verify that the book names of Writers 1 and 2 are identical:

Step 1: First, create a new column called “Does book name different?”.

Check Not Equal To

Step 2: Type the following formula in cell D2.

=A2<>B2

Check Not Equal To

So, the above formula will check for A2 book name is not equal to B2 book name if it is not equal, it will return FALSE or else it will return TRUE.

Step 3: Press Enter key on your keyboard to apply the formula.

Check Not Equal To

We can see that both the book names are the different and it will return the outcome as TRUE which is shown in the above screenshot.

Step 4: Drag down the formula for the next cell. So, the output will be as below:

Check Not Equal To

As =A3<>B3, where we can see the A3 book name is equal to the B3 book name, so we will get the output as FALSE which is shown as the output in the above screenshot.

  • Example 3 – Using IF Statement:

We’ll examine how to use the if statement in the Not Equal To operator in this Excel example.

Suppose you have a list of job applicants and you want to filter out all applicants who do not have experience working in a specific industry.

The following example table is shown below:

Check Not Equal To

The steps to filter out all applicants who do not have experience in the IT industry using “Not Equal To” operator with IF statement in Excel are described below:

Step 1: Create a new column as Filter Status.

Check Not Equal To

Step 2: Apply the following formula in cell C2.

=IF(B2<>”IT”,”Remove”,”Keep”)

This formula checks if the value in column B (Industry Experience) is not equal to “IT” for each row. If the applicant does not have IT experience, it returns the text “Remove”. Otherwise, it returns “Keep”. The resulting table would look like this:

Check Not Equal To

As you can see, using the “Not Equal To” operator in Excel has allowed us to quickly and easily filter out all applicants who do not have IT experience. By using this operator in your own data analysis tasks, you can similarly compare strings and spot patterns in your data that can help inform your decision-making.

  • Example 4 – Using the COUNTIF Function:

We’ll explore how the COUNTIF Function operates in the Not Equal To operator in this Excel example.

Take a look at the example below, which displays customer feedback.

Check Not Equal To

The procedures listed below will help us determine how many consumers have sent poor feedback:

Step 1: Add a new row with the title “Total Poor Feedback.”

Check Not Equal To

Step 2: Apply the COUNTIF formula as below:

=COUNTIF(B2:B9,”<>Good”)

This formula uses the “Not Equal To” operator (“<>”) to check each value in the “Feedback” column (column B) and counts the number of values that are not equal to “Good”.

Check Not Equal To

As you can see, by using the “Not Equal To” operator with the COUNTIF function, we were able to count the total number of poor feedbacks.

3. What You Should Know About Not Equal To in Excel?

  • Logical operators are frequently employed in conditional formatting in Microsoft Excel, which will produce the best results.
  • The Not Equal To operator always needs two values to determine if a value is “TRUE” or “FALSE.”

When employing the Not Equal To on Excel, be sure to provide the correct condition statement; otherwise, we will receive an incorrect result.

For ready-to-use Dashboard Templates:

  1. Financial Dashboards
  2. Sales Dashboards
  3. HR Dashboards
  4. Data Visualization Charts

Leave a Comment

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

Categories