Using SUMIFS

Copper Contributor

*Please help with SUMIFS coding, total should equal 532,108 lbs.

 

Using SUMIFS, calculate the total lbs of bananas produced by Ecuador and India.

 

PRODUCTCOUNTRY OF ORIGINLBS PRODUCED 2021
BANANASECUADOR                                                     252,008
BANANASPHILIPPINES                                                     522,693
BANANASINDIA                                                     280,100
BANANASBRAZIL                                                     336,927
COCONUTSINDONESIA                                                     214,074
COCONUTSSRI LANKA                                                     509,041
COCONUTSPHILIPPINES                                                     303,266
MANGOESMEXICO                                                     526,327
MANGOESHAITI                                                     216,365
MANGOESPHILIPPINES                                                     299,419
   
 TOTAL LBS PRODUCED IN 2021                                                 3,460,220
2 Replies

@mvpbosfit 

=SUM(SUMIFS(C2:C11,A2:A11,"Bananas",B2:B11,{"India","Ecuador"}))

This formula returns the intended result in my file.

sumifs.png 

If this is a homework assignment, the teacher may be looking for a solution where your formula consists of two SUMIFs added up.