AND

Logicalbeginner

AND evaluates multiple conditions and returns TRUE only when every single one is met. Most commonly used inside IF to test multiple criteria at once. Think of it as 'this AND that AND the other thing must ALL be true.'

Syntax

Excel:=AND(logical1, [logical2], ...)
Google Sheets: Same syntax

Parameters

logical1The first condition to evaluate.
logical2?Additional conditions (up to 255).

? = optional parameter

Worked Example

Check if an invoice is both over $10,000 AND from the Engineering department.

Row numbersAEF
Header rowinvoice_idamountdepartmentAND result
2INV-1001$12,500.00EngineeringTRUE
3INV-1003$18,750.00FinanceFALSE
4INV-1006$9,800.00EngineeringFALSE

Formula

=AND(B2>10000, C2="Engineering")

Result

TRUE

AND checks whether B2 is greater than 10,000 and whether C2 equals 'Engineering'. In row 2, both conditions are true, so the formula returns TRUE.

Related:ORIFIFSNOT

Practice Exercises

2 exercises - work through each one using the data table below

Exercise 1 of 2beginner
#AND-001

Question

Write a formula using IF and AND that returns 'Urgent' for invoices that are BOTH over $10,000 AND have status 'Overdue', and 'Normal' otherwise. What's the result for invoice INV-1008?

Dataset

Showing rows 1-10

Download CSV
Row numbersABC
Header row
2INV-1001$12,500.00Paid
3INV-1002$487.50Paid
4INV-1003$18,750.00Paid
5INV-1004$3,200.00Paid
6INV-1005$7,600.00Paid
7INV-1006$9,800.00Pending
8INV-1007$2,150.00Paid
9INV-1008$15,300.00Overdue
10INV-1009$4,250.00Paid
11INV-1010$8,900.00Paid
12

Scroll to explore the table, then sort or filter by column as needed.

Hints

Your Answer

Exercise 2 of 2intermediate
#AND-002

Question

How many invoices meet ALL three conditions: amount over $5,000, category is 'Software', and status is 'Paid'?

Dataset

Vendor Spend Tracker (150 rows total)

Download CSV
Row numbersABCDE
Header row
2INV-1001Cloudline SoftwareSoftware$12,500.00Paid
3INV-1002Apex Office SupplyOffice Supplies$487.50Paid
4INV-1003Summit Consulting GroupConsulting$18,750.00Paid
5INV-1004Meridian Travel Co.Travel$3,200.00Paid
6INV-1005Forge & Frame CreativeMarketing$7,600.00Paid
7INV-1006NovaTech SolutionsSoftware$9,800.00Pending
8INV-1007Atlas Hardware Co.Hardware$2,150.00Paid
9INV-1008Clearview Data SystemsSoftware$15,300.00Overdue
10INV-1009Redstone MarketingMarketing$4,250.00Paid
11INV-1010Keystone Legal AdvisorsConsulting$8,900.00Paid
12INV-1011Cloudline SoftwareSoftware$8,500.00Paid
13INV-1012Basecamp EventsMarketing$8,256.80Paid
14INV-1013Apex Office SupplyOffice Supplies$713.88Paid
15INV-1014BrightPath AnalyticsSoftware$2,645.33Paid
16INV-1015Meridian Travel Co.Travel$4,702.01Paid
17INV-1016Clearview Data SystemsSoftware$3,400.74Paid
18INV-1017Apex Office SupplyOffice Supplies$531.83Paid
19INV-1018Summit Consulting GroupConsulting$1,847.86Paid
20INV-1019Cloudline SoftwareSoftware$7,800.00Paid
21INV-1020Atlas Hardware Co.Hardware$2,524.82Paid
22INV-1021Meridian Travel Co.Travel$2,934.55Paid
23INV-1022Atlas Hardware Co.Hardware$2,912.75Pending
24INV-1023Atlas Hardware Co.Hardware$4,124.04Paid
25INV-1024Apex Office SupplyOffice Supplies$672.77Paid
26INV-1025Redstone MarketingMarketing$5,371.63Paid
27INV-1026Clearview Data SystemsSoftware$3,796.96Paid
28INV-1027Horizon IT ServicesSoftware$1,773.30Paid
29INV-1028Basecamp EventsMarketing$4,601.68Paid
30INV-1029Redstone MarketingMarketing$5,414.85Paid
31INV-1030BrightPath AnalyticsSoftware$2,704.87Paid
32INV-1031Basecamp EventsMarketing$2,351.63Paid
33INV-1032Cloudline SoftwareSoftware$9,200.00Paid
34INV-1033Clearview Data SystemsSoftware$4,086.27Pending
35INV-1034Meridian Travel Co.Travel$1,642.50Paid
36INV-1035Cloudline SoftwareSoftware$2,867.94Paid
37INV-1036Horizon IT ServicesSoftware$4,586.87Paid
38INV-1037BrightPath AnalyticsSoftware$2,679.33Paid
39INV-1038Cloudline SoftwareSoftware$2,284.90Paid
40INV-1039Horizon IT ServicesSoftware$3,224.17Paid
41INV-1040Apex Office SupplyOffice Supplies$604.96Paid
42INV-1041Summit Consulting GroupConsulting$9,500.00Overdue
43INV-1042Clearview Data SystemsSoftware$3,871.90Paid
44INV-1043Forge & Frame CreativeMarketing$5,726.55Paid
45INV-1044NovaTech SolutionsSoftware$3,596.33Paid
46INV-1045Meridian Travel Co.Travel$5,657.73Paid
47INV-1046Cloudline SoftwareSoftware$8,000.00Paid
48INV-1047Apex Office SupplyOffice Supplies$396.69Paid
49INV-1048Apex Office SupplyOffice Supplies$523.99Paid
50INV-1049Pinecrest StaffingConsulting$5,843.41Paid
51INV-1050Clearview Data SystemsSoftware$5,091.38Paid
52INV-1051BrightPath AnalyticsSoftware$6,200.00Overdue
53INV-1052Keystone Legal AdvisorsConsulting$10,496.53Paid
54INV-1053Cloudline SoftwareSoftware$3,873.77Paid
55INV-1054NovaTech SolutionsSoftware$2,131.07Paid
56INV-1055Basecamp EventsMarketing$4,659.43Paid
57INV-1056Cloudline SoftwareSoftware$7,500.00Paid
58INV-1057NovaTech SolutionsSoftware$3,255.52Paid
59INV-1058Clearview Data SystemsSoftware$2,889.22Paid
60INV-1059Basecamp EventsMarketing$2,943.88Paid
61INV-1060Horizon IT ServicesSoftware$3,917.25Paid
62INV-1061Atlas Hardware Co.Hardware$2,958.71Paid
63INV-1062Forge & Frame CreativeMarketing$5,190.48Paid
64INV-1063Meridian Travel Co.Travel$3,800.00Overdue
65INV-1064Meridian Travel Co.Travel$3,248.96Pending
66INV-1065Cloudline SoftwareSoftware$6,800.00Paid
67INV-1066Redstone MarketingMarketing$4,583.65Paid
68INV-1067Horizon IT ServicesSoftware$4,154.73Paid
69INV-1068Cloudline SoftwareSoftware$1,994.85Paid
70INV-1069NovaTech SolutionsSoftware$5,988.79Paid
71INV-1070Apex Office SupplyOffice Supplies$701.90Paid
72INV-1071Redstone MarketingMarketing$1,522.67Paid
73INV-1072NovaTech SolutionsSoftware$8,100.00Overdue
74INV-1073Summit Consulting GroupConsulting$33,000.00Paid
75INV-1074Atlas Hardware Co.Hardware$3,618.53Paid
76INV-1075BrightPath AnalyticsSoftware$5,484.82Paid
77INV-1076Clearview Data SystemsSoftware$2,190.73Paid
78INV-1077Meridian Travel Co.Travel$4,915.98Paid
79INV-1078Pinecrest StaffingConsulting$5,337.06Paid
80INV-1079Meridian Travel Co.Travel$5,217.40Paid
81INV-1080Greenfield FacilitiesOffice Supplies$4,199.01Paid
82INV-1081Keystone Legal AdvisorsConsulting$7,880.94Paid
83INV-1082Apex Office SupplyOffice Supplies$738.04Paid
84INV-1083Cloudline SoftwareSoftware$9,500.00Paid
85INV-1084Meridian Travel Co.Travel$3,706.27Paid
86INV-1085Horizon IT ServicesSoftware$3,934.09Paid
87INV-1086Cloudline SoftwareSoftware$2,463.38Paid
88INV-1087Apex Office SupplyOffice Supplies$404.67Paid
89INV-1088Pinecrest StaffingConsulting$1,909.04Paid
90INV-1089NovaTech SolutionsSoftware$2,885.01Paid
91INV-1090Meridian Travel Co.Travel$5,922.08Paid
92INV-1091Redstone MarketingMarketing$3,693.48Paid
93INV-1092Cloudline SoftwareSoftware$4,986.06Paid
94INV-1093Cloudline SoftwareSoftware$31,500.00Paid
95INV-1094BrightPath AnalyticsSoftware$4,248.05Paid
96INV-1095Redstone MarketingMarketing$3,264.04Paid
97INV-1096BrightPath AnalyticsSoftware$5,977.55Paid
98INV-1097Redstone MarketingMarketing$3,214.26Paid
99INV-1098Cloudline SoftwareSoftware$8,200.00Paid
100INV-1099Meridian Travel Co.Travel$2,709.54Paid
101INV-1100Meridian Travel Co.Travel$3,516.17Pending
102INV-1101Forge & Frame CreativeMarketing$3,122.47Paid
103INV-1102Atlas Hardware Co.Hardware$4,530.21Paid
104INV-1103NovaTech SolutionsSoftware$4,352.17Paid
105INV-1104Meridian Travel Co.Travel$3,137.30Paid
106INV-1105NovaTech SolutionsSoftware$4,559.89Paid
107INV-1106Pinecrest StaffingConsulting$7,400.00Overdue
108INV-1107Basecamp EventsMarketing$2,724.75Pending
109INV-1108Redstone MarketingMarketing$3,957.64Paid
110INV-1109NovaTech SolutionsSoftware$2,398.15Paid
111INV-1110Horizon IT ServicesSoftware$5,015.14Paid
112INV-1111Pinecrest StaffingConsulting$30,500.00Paid
113INV-1112NovaTech SolutionsSoftware$3,646.25Pending
114INV-1113Cloudline SoftwareSoftware$5,200.86Pending
115INV-1114Meridian Travel Co.Travel$1,878.57Paid
116INV-1115Clearview Data SystemsSoftware$4,287.78Paid
117INV-1116Cloudline SoftwareSoftware$5,505.30Paid
118INV-1117Clearview Data SystemsSoftware$4,658.66Paid
119INV-1118Greenfield FacilitiesOffice Supplies$5,042.80Paid
120INV-1119Cloudline SoftwareSoftware$7,000.00Paid
121INV-1120Horizon IT ServicesSoftware$3,893.42Paid
122INV-1121Meridian Travel Co.Travel$5,864.21Paid
123INV-1122Redstone MarketingMarketing$3,920.27Paid
124INV-1123Redstone MarketingMarketing$4,600.00Overdue
125INV-1124NovaTech SolutionsSoftware$1,602.74Paid
126INV-1125Cloudline SoftwareSoftware$5,250.09Paid
127INV-1126Meridian Travel Co.Travel$4,417.14Paid
128INV-1127Horizon IT ServicesSoftware$5,900.00Overdue
129INV-1128Forge & Frame CreativeMarketing$4,618.54Paid
130INV-1129Cloudline SoftwareSoftware$8,800.00Paid
131INV-1130BrightPath AnalyticsSoftware$4,003.25Paid
132INV-1131Keystone Legal AdvisorsConsulting$11,892.88Paid
133INV-1132BrightPath AnalyticsSoftware$2,800.34Paid
134INV-1133Meridian Travel Co.Travel$4,365.68Paid
135INV-1134NovaTech SolutionsSoftware$2,264.09Paid
136INV-1135Cloudline SoftwareSoftware$5,344.04Paid
137INV-1136Greenfield FacilitiesOffice Supplies$1,733.29Paid
138INV-1137Meridian Travel Co.Travel$2,251.07Paid
139INV-1138Apex Office SupplyOffice Supplies$367.30Paid
140INV-1139Pinecrest StaffingConsulting$3,235.55Paid
141INV-1140Pinecrest StaffingConsulting$4,538.25Paid
142INV-1141Cloudline SoftwareSoftware$7,200.00Paid
143INV-1142NovaTech SolutionsSoftware$2,487.53Paid
144INV-1143Greenfield FacilitiesOffice Supplies$4,398.73Paid
145INV-1144Clearview Data SystemsSoftware$4,282.05Paid
146INV-1145Apex Office SupplyOffice Supplies$300.36Paid
147INV-1146Cloudline SoftwareSoftware$9,000.00Paid
148INV-1147Summit Consulting GroupConsulting$4,697.90Paid
149INV-1148NovaTech SolutionsSoftware$2,613.37Paid
150INV-1149Greenfield FacilitiesOffice Supplies$4,097.38Paid
151INV-1150Greenfield FacilitiesOffice Supplies$1,846.11Pending
152

Scroll to explore the table, then sort or filter by column as needed.

Hints

Your Answer

Want more practice?

Test Me mode randomizes exercises across all formulas without telling you which formula to use.

Try Test Me ->