Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I am trying to sum a range of cells where two conditions are met. The first cond

ID: 3562810 • Letter: I

Question

I am trying to sum a range of cells where two conditions are met. The first condition is that a range of cells does not equal "BULK". The second condition is that a range of cells equals Food. Here is what I have but there seems to be something missing as the formula sums the range of cells that equals FOOD but does not take the first condition that says do not sum if a range of cells equals "BULK".

=IF(Sales!L:L<>"BULK",SUMIF(Sales!$I:$I,"FOOD",Sales!$P:$P))

Any! help would be greatly appreciatedd!!!.

Thank you,

Explanation / Answer

Try this one.

=SUMIFS(P:P,I:I,"Food",L:L,"<>Bulk")

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote