nested sumif?

  • Thread starter Thread starter Rachel
  • Start date Start date
R

Rachel

trying to sum one column (G:G) that contains weight by lbs if two criteria
are met - 1) if column (B:B) = "1-Grains" and
2) if col (H:H) = "lb" (because there are other units of weigt - ie fl oz,
oz etc

I'm only wanting to get the total weight for a specific category and all
items in that category that are measured in lbs.

Help - I'm reading online and only using MS Excel 2003

SUMIFS is not defined in 2003.
 
=sumproduct((b2:b22="1-grains")*(h2:h22-"lb")*g2:g22)
do not use entire columns
 
Thank you so much!!!

Jacob Skaria said:
When you have multiple criteria use SUMPRODUCT()

=SUMPRODUCT((B1:B100="1-Grains")*(H1:H100="lb"),G1:G100)

If this post helps click Yes
 
Back
Top