Excel AND function

Returns TRUE only when every condition is true. It is almost always used inside IF. In Spanish Excel it is called Y.

Syntax

English Excel

=AND(logical1, [logical2], …)

Spanish Excel (Mexico)

=Y(valor_lógico1, [valor_lógico2], …)

Spanish Excel (Spain, Latin America)

=Y(valor_lógico1; [valor_lógico2]; …)

ArgumentWhat it is
logical1The first condition.
logical2optionalMore conditions.

Example

AND returns TRUE only when all its conditions are met. Inside IF, it requires several things at once.

=IF(AND(B2>=95,C2>=8),"Yes","No")

Common mistake

In Spanish Excel the function is simply Y. It does not work inside FILTER; multiply the conditions there instead.

About Ads

This site uses Google AdSense to display ads. These ads help us keep WebHerramientas completely free. Ads are managed by Google and meet strict security and privacy standards.

Advertising
Loading ad...

Ads help us keep WebHerramientas free for everyone

Practice AND

Type the formula in the sheet and check it instantly. Spanish or English function names both work. See all lessons

IF with AND

AND returns TRUE only when all its conditions are met. Inside IF, it requires several things at once.

Example=IF(AND(B2>=95,C2>=8),"Sí","No")SI = IFY = AND

The bonus ("Yes") requires attendance of 95 or more and a review of 8 or more. Otherwise, "No".

D2
ABCDE
1EmployeeAttendance %ReviewBonus
2Marisol989
3Fernando929.5
4Gabriela958
5Hugo1007.5
6Daniela978.5
7

Tip: while typing, click a cell or drag across several to insert their reference.

Frequently asked questions

What is AND called in Spanish?
In Spanish Excel it is Y. The formula =IF(AND(B2>=95,C2>=8),"Yes","No") is written =SI(Y(B2>=95;C2>=8);"Sí";"No") (or with commas in Mexico).
Why does AND use semicolons in some Excel versions?
It depends on regional settings. Where the comma is the decimal mark (Spain, much of South America), Excel separates arguments with semicolons. English Excel and Mexican Spanish Excel use commas.
What is the most common AND mistake?
In Spanish Excel the function is simply Y. It does not work inside FILTER; multiply the conditions there instead.