Get help

Help center

Guides and answers

Contact support

Write to our team

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Finance

Turn manual finance work into reports that update themselves.

What Finance teams automate

  • Track payables and receivables
  • Build cash flow statements
  • Compare budget against actuals

Inventory and manufacturing

See stock levels and automate ordering.

What inventory and manufacturing teams automate

  • Track inventory across multiple sites
  • Connect sales, purchasing, and warehouse data
  • Link a barcode scanner to your sheet

HR

Run recruitment, attendance, and OKR tracking from your sheets.

What HR teams automate

  • Track recruitment and onboarding
  • Record team OKRs and results
  • Track check-ins, check-outs, and leave

Project management

Assign tasks and track hours without manual updates.

What project teams automate

  • Assign tasks and track status changes
  • Estimate effort and log hours worked
  • Track milestones across projects

Sales and CRM

Track leads and sales performance with automated reports.

What sales teams automate

  • Track and convert leads
  • Set sales goals and track team metrics
  • Monitor sales KPIs on dashboards

Education

Automate attendance, grades, and school purchasing.

What schools automate

  • Track attendance and notify parents
  • Record and compare class grades
  • Track inventory lent to students and staff

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Get started

Templates

Ready-made workflows to start from

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Help center

Guides and answers

Contact support

Write to our team

Workflows

Build processes with your team

Automations

Connect files and automate tasks

How to use the NOT function in Google Sheets

There are scenarios when using Google Sheets where we may need a tool to negate a logical value or expression. The NOT function does exactly that. It returns FALSE if the input argument evaluates to TRUE and returns TRUE if the input argument evaluates to FALSE.

Usually, the NOT function is used in conjunction with other formulas such as IF, OR, or AND to build a comprehensive formula that can answer multiple conditions at the same time. This makes it a valuable formula to use in situations where you need to compare more than two conditions at once. For example, let’s say we’re calculating whether the sales team members are viable for a commission and bonus. We can use the NOT function to test whether they negate a certain income level or a certain number of accounts – if they provide a FALSE result for either one of the two, they can receive their commission. If they provide a FALSE result for both, they’re entitled to the bonus too.

Let’s explore the NOT function further and how you can use it in Google Sheets.

What is the NOT function?

The NOT function is quite a simple formula as there are only two possible variations.

Either it takes a logical TRUE as input and returns a FALSE, or it consumes a logical FALSE for input and returns a TRUE.

NOT function 0

The formula also provides a response when we provide numbers as the input argument. It still returns a logical TRUE or FALSE regardless.

A zero is converted to logical FALSE and a non-zero a logical TRUE.

NOT function 1

Syntax

The syntax for the NOT function is as follows:

=NOT(logical_expression)
  • logical_expression: is an expression that evaluates to a logical TRUE or FALSE. This can be a direct expression or a reference to the cell that represents a logical expression

Please note: When using the NOT function on its own, it will only accept one input argument. This is because there is no way of negating two or more logical values together. They must be separated by something else.

How to use the NOT function in Google Sheets

On its own

Although the NOT function may not be that helpful in most situations when used on its own, it’s a good formula to use when determining a negative action.

For example, let’s say we’ve added a promotion to a product but users must have had an account for more than 1 year to be eligible. We can negate users with accounts less than a year old by obtaining a logical FALSE result with the following formula:

=NOT(B2<12)

NOT function 2

As you can see, those who have had an account for more than 12 months are eligible for the promotion!

In conjunction with other formulas

The NOT function can also be used in conjunction with other formulas, such as OR, AND or IF. This allows us to compare multiple conditions at the same time in just one formula. If you’re not familiar with these other formulas, take a look at our other articles on spreadsheet functions such as How to use the nested IF statement.

Let’s take the example mentioned earlier and create a formula using the AND, OR, IF and NOT functions at the same time. If a salesperson exceeds the sales goal OR the account goal, they receive a commission. If a salesperson exceeds the sales goal AND the account goal, they get the bonus. The NOT function can be used to actually calculate the answers themselves, rather than just providing either a TRUE or FALSE return.

Firstly let’s determine which of the sales team members are eligible for commission using a formula containing IF,OR and NOT.

NOT function 3

To determine which salespeople receives a commission, I must use the following formula:

=IF(OR(NOT(B11<$B$2),NOT(C11<$B$5)),B11*$B$3,0)

  • If a salesperson has more than $12,500 in sales, they receive a 1.5% commission
  • OR, if a salesperson has more than 10 accounts, they receive a 1.5% commission
  • If they have neither, the value returns as 0.

Here are the results:

NOT function 4
As you can see, the salespeople that have either exceeded the sales goal or the accounts goal have received their commission.

Now let’s determine which salespeople can receive a bonus. To do this, we need to incorporate the AND formula:

=IF(AND(NOT(B11<$B$2),NOT(C11< B5)),B6,0)

  • If a salesperson has more than $12,500 in sales AND they have more than 10 accounts, they receive the $750 bonus
  • If they do not fulfill both, the value returns as 0.

Here are the results:

NOT function 5

As you can see here, only those who have both exceeded the sales AND account goals will receive their bonus.

NOT function in Google Sheets

And there you have it! The NOT function can be extremely helpful in negating logical values or expressions, especially when combined with other spreadsheet formulas.

If you would like to learn more about different formulas and functions in Google Sheets and also in Excel, take a look at our related blog posts below!

Editor’s note: This is a revised version of a previous post that has been updated for accuracy and comprehensiveness.

You may also like…

google sheets features and formulas

How to find nominal interest rate using Google Sheets

Sarah is a young professional making significant financial decisions. From credit cards to mortgages, student loans, and investment...
google sheets features and formulas

Pull Google Calendar data into Google Sheets using Apps Script

This post was originally published in our community forum. Objective : This guide demonstrates how to use Google Apps Script to pull data...
google sheets features and formulas

Using the PROPER function to capitalize the first letter of each word in Google Sheets

Note: This post was originally published in our community forum. Ever found yourself needing to clean up a list of names, titles, or any...