---
schema_version: "1"
id: 09d4cb5a6ed5c6e4d048916f8c07272d225c8d67c4ff83e3bd3bf7e08784c307
title: "&& (AND)"
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/customize_functions_and.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.customize_functions_and.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: da15c629c4345c4011943100711ff43be6716751841bd55731467f42926ca4b7
description: Evaluates if two values or expressions are both true. Use this operator as an alternative to the logical function AND.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# && (AND)

Evaluates if two values or expressions are both true. Use this operator as an alternative to the logical function AND.

## Use

`(logical1) && (logical2)` and replace logical1 and logical2 with the values or expressions that you want evaluated.

![Generic Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_example.png)

Generic Example

`IF((Price<100 && Quantity<5),"Small", null)`

This formula displays Small if the price is less than 100 and the quantity is less than five. Otherwise, this field is blank.