✅ Google Sheets logical examples

And and or Examples in Google Sheets

Combine multiple logical tests inside IF, FILTER, or conditional rules. This page gives a clear pattern, five practical examples and common mistakes to avoid.

Updated 2026-06-125 practical examplesCopy-ready formulas

Syntax or pattern

Combine multiple logical tests inside IF, FILTER, or conditional rules.

=AND(condition1, condition2)
✍️

5 practical examples

1

Use AND and OR to label overdue tasks

Create a simple status label based on a due date.

=IF(D2<TODAY(), "Overdue", "On track")

Adjust the ranges, criteria and sheet names to match your workbook.

2

Use AND and OR for pass/fail logic

Classify scores, targets, or quality checks.

=IF(B2>=70, "Pass", "Review")

Adjust the ranges, criteria and sheet names to match your workbook.

3

Use AND and OR for budget status

Compare actual spend to the planned amount.

=IF(C2>B2, "Over budget", "Within budget")

Adjust the ranges, criteria and sheet names to match your workbook.

4

Use AND and OR for blank checks

Flag missing values before reports are shared.

=IF(A2="", "Missing", "Complete")

Adjust the ranges, criteria and sheet names to match your workbook.

5

Use AND and OR for priority labels

Turn input values into clearer workflow labels.

=IF(E2="High", "Do first", "Normal")

Adjust the ranges, criteria and sheet names to match your workbook.

Common mistakes to avoid

  • Mixing text and numbers in comparisons.
  • Forgetting quotation marks around text results.
  • Creating nested formulas that are hard to audit.

FAQ

What is this Google Sheets page for?

This page gives copy-ready examples for and and or examples so you can understand the pattern and adapt it to real spreadsheet work.

Can I copy these formulas directly?

Yes. Use the copy buttons, then adjust sheet names, ranges, criteria and column references for your own file.

Why does my formula return an error?

The most common causes are mismatched ranges, missing quotes around text criteria, blank source data, or references that do not match your sheet layout.

💡 Useful resources

Here are some ideas for you

Optional resources that may help if you are learning Google Sheets, building trackers, creating dashboards or improving spreadsheet workflows.

  • 📘
    Google Sheets books

    Learn formulas, workflows and dashboards with structured examples.

    See ideas
  • 📊
    Spreadsheet dashboard books

    Improve how you design trackers, summaries and reporting sheets.

    See ideas
  • ⌨️
    Keyboard shortcut guides

    Build speed with navigation, editing and formatting shortcuts.

    See ideas
  • 🔢
    Numeric keypads

    Useful if you enter numbers often on a laptop or compact keyboard.

    See ideas
  • 🖥️
    External monitors

    Helpful for viewing data, formulas and dashboards side by side.

    See ideas
  • 📒
    Desk notebooks

    Sketch formulas, tracker layouts and reporting ideas before building.

    See ideas

Some links in this section may be affiliate links. Choose only what is useful for your own work.