~/ learn/ afm-112/ cards/ Compound conditions: functions in Sheets, operators in R
1 of 7

In Sheets, with prov in B and amount in D, type the row-2 formula that flags an Ontario order over $400 with 1 and everything else with 0.

In Sheets, with prov in B and amount in D, type the row-2 formula that flags an Ontario order over $400 with 1 and everything else with 0.

Answer

=IF(AND(B2="ON", D2>400), 1, 0)

AND is a function inside IF's condition slot. Three rows get 1 — orders 1001, 1003, 1006.

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/fc53356f-a52c-4ab9-964c-2ba0b50c284b/flashcard utf-8 LF