Google Sheets AND Function: Syntax, Examples & Tips

The AND function checks if all specified conditions are true, returning TRUE if they are, and FALSE if any are not.
Google Sheets
AND(logical_expression1, [logical_expression2, ...])

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

On this page
  1. Parameters
  2. What is an AND Function?
  3. A Practical Example
  4. AND Formula
  5. Result of the Formula
  6. Why Use AND?
  7. Key Takeaways:
  8. Example use case

Parameters

logical_expression1:
The first condition or logical expression that you want to evaluate. This can be a comparison (e.g., A1 > 10), a reference to a cell containing a logical value, or any expression that returns TRUE or FALSE.

logical_expression2:
Additional conditions or logical expressions that you want to evaluate. You can include multiple logical expressions, and they will all be evaluated in conjunction with the first one. Each expression can be a comparison, a reference, or any expression that returns TRUE or FALSE.

What is an AND Function?

The AND function in Google Sheets is a logical function that allows you to evaluate multiple conditions at once. It returns TRUE if all the specified conditions are true and FALSE if any of the conditions are false. This function is particularly useful when you want to perform calculations or return values based on multiple criteria.

In simpler terms, the AND function helps you check if several conditions are met simultaneously.

A Practical Example

Imagine you are managing a student grading system and you want to determine if a student has passed based on their scores in different subjects.

Student Scores Table:

StudentIDMathScienceEnglish
1857890
2655570
3928895

You want to check if each student has passed in all subjects, assuming the passing score is 70.

AND Formula

To achieve this, you would use the AND function as follows:

Google Sheets
=AND(B2>=70, C2>=70, D2>=70)

In this formula:

  • B2, C2, and D2 are the cells containing the scores for Math, Science, and English, respectively.
  • The function checks if all the scores are greater than or equal to 70.

Result of the Formula

When you apply the AND formula to the Student Scores Table, the output would look like this:

StudentIDMathScienceEnglishPassed
1857890TRUE
2655570FALSE
3928895TRUE

In this case, the AND function would return TRUE for Student 1 and Student 3, indicating they passed all subjects, while it would return FALSE for Student 2.

Why Use AND?

The AND function is beneficial because it allows you to evaluate multiple conditions in a single formula, making your spreadsheets more efficient and easier to manage. It is commonly used in combination with other functions, such as IF, to create more complex logical tests.

Key Takeaways:

  • AND: A logical function that checks if multiple conditions are true.
  • Efficiency: Allows for simultaneous evaluation of conditions, simplifying formulas.
  • Common Use Cases: Ideal for grading systems, inventory checks, and any scenario where multiple criteria need to be evaluated together.

The AND function is an essential tool for anyone working with data in Google Sheets, providing a straightforward way to enhance logical testing and decision-making in your spreadsheets.

Happy spreadsheeting!

Example use case

You have a table where Column A lists project deadlines and Column B indicates whether each project is on track. Use the AND formula to check if all projects are on track before a specific date, ensuring timely completion and effective project management.

Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

  1. 01ChatGPTOpen a balanced comparison prompt in ChatGPT.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.