# Criteria

Some functions, such as `SUMIF()`, take a **criteria** parameter that other values are compared to. A criteria value can be a literal value, such as `1`, `FALSE`, `"blue"`, etc. A literal value checks for equality (case-insensitive). However, starting a string with a comparison operator enables more complex criteria:

| **Symbol**               | **Description**                                                     |
| ------------------------ | ------------------------------------------------------------------- |
| `"=blue"` or `"==blue"`  | Equal comparison (supports [wildcards](/formulas/wildcards.md))     |
| `"<>blue"` or `"!=blue"` | Not-equal comparison (supports [wildcards](/formulas/wildcards.md)) |
| `"<blue"`                | Less-than comparison                                                |
| `">blue"`                | Greater-than comparison                                             |
| `"<=blue"`               | Less-than-or-equal comparison                                       |
| `">=blue"`               | Greater-than-or-equal comparison                                    |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.quadratichq.com/formulas/criteria.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
