nested sumif?

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.
 
D

Don Guillett

=sumproduct((b2:b22="1-grains")*(h2:h22-"lb")*g2:g22)
do not use entire columns
 
R

Rachel

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top