Returns TRUE if the first number does not equal the second number, otherwise FALSE
NE(numberOne, numberTwo)
You could use "<>" instead, either way works.
Example:
If numberOne contains 2 and numberTwo contains 2:
NE(2, 2) or 2 <> 2
returns FALSE
If numberOne contains 3 and numberTwo contains 2:
NE(3, 2) or 3 <> 2
returns TRUE
numberOne:
numberTwo:
Result:
Inventory Management
Imagine you are managing the inventory for a small electronics store. You have a spreadsheet to track your products. You need to quickly identify which products have a stock level that is not equal to their reorder point. This allows you to see which products you need to consider reordering, as well as those that might be overstocked.
Here is a table representing your inventory data:
Product ID | Product Name | Stock Level | Reorder Point | ||
|---|---|---|---|---|---|
A | B | C | D | ||
1 | P001 | Wireless Mouse | 50 | 25 | |
2 | P002 | Keyboard | 10 | 10 | |
3 | P003 | USB Hub | 15 | 20 | |
4 | P004 | Monitor | 5 | 5 | |
5 | P005 | Web Camera | 30 | 15 |
If Stock Level is not equal to Reorder Point, then the Status is 'Needs Review'. Otherwise, the Status is 'Balanced'.
Using the NE function, the formula for the Status column would look something like this in a spreadsheet:
IF(NE(C2, D2), "Needs Review", "Balanced")
Let's apply this formula to each row:
Here is the updated table with the new Status column based on the NE function logic:
Product ID | Product Name | Stock Level | Reorder Point | Status | ||
|---|---|---|---|---|---|---|
A | B | C | D | E | ||
1 | P001 | Wireless Mouse | 50 | 25 | Needs Review | |
2 | P002 | Keyboard | 10 | 10 | Balanced | |
3 | P003 | USB Hub | 15 | 20 | Needs Review | |
4 | P004 | Monitor | 5 | 5 | Balanced | |
5 | P005 | Web Camera | 30 | 15 | Needs Review |
PRODUCT & FEATURES
RESOURCES
Terms | Privacy | Spam Policy
© 2026 Zapof