I need to do a SUMIF AND

E

Ed

How can I do a SUMIF and a AND formula together.

I need to sum column F if the value H2 equals A10 in sheet eom_v1 AND IF the
value in column G, sheet eom_v1, equals "ACC"

SUMIF('[Test Data.xls]eom_v1'!$H$2:$H$958,A10,'[Test
Data.xls]eom_v1'!$F$2:$F$958)
SUMIF('[Test Data.xls]eom_v1'!$G$3:$G$958,"ACC",'[Test
Data.xls]eom_v1'!$F$2:$F$958)

T.I.A.

Ed
 
A

Aladin Akyurek

SUMPRODUCT(('[Test Data.xls]eom_v1'!$H$2:$H$958=A10)*('[Test
Data.xls]eom_v1'!$G$2:$G$958="ACC"),'[Test Data.xls]eom_v1'!$F$2:$F$958)
 
P

Peo Sjoblom

Something like this maybe

=SUMPRODUCT(('[Test Data.xls]eom_v1'!$H$2:$H$958=A10)*('[Test
Data.xls]eom_v1'!$G$2:$G$958="ACC"),'[Test Data.xls]eom_v1'!$F$2:$F$958)
 
E

Ed

Thanks Guys.

I've never used SUMPRODUCT before but have had this problem before.
Glad I asked.
 

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