SUMIF-with 2 conditions, need to add range in 2 columns

  • Thread starter Thread starter nursemlb
  • Start date Start date
N

nursemlb

Column a
Column b
Column c
Column d

If column d = "specific" and column a = "mary", would like to add columns b
and c

Please help!
 
Hi

Try this:

=SUMPRODUCT(--(A1:A6="mary"),--(D1:D6="specific"),B1:B6+C1:C6)


If this helps please check the yes button.
 
Hi,

you can also try this array formula (Ctrl+Shift+Enter)

=sum(if((D1:D10="specific")*(A1:A10="Mary"),B1:C10))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
 

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

Back
Top