counting on two condtions

  • Thread starter Thread starter JulieD
  • Start date Start date
J

JulieD

Hi Kevin

one option
=SUMPRODUCT((D4:D83=U$10)*(B4:B83=X$4)*E4:E83)

Cheers
JulieD
 
Hi

I have a worksheet with a range of data
the following formula returns the value of column E where the condition
P4 is matched in column B No problem with is

=SUM(IF((B4:B83=$P$4),E4:E83))

What i need to do is to check a second column along with the first column and
return the value of column E where both condtions are true
ie
=AND(SUM(IF((D4:D83=U$10),(B4:B83=X$4,E4:E83))))

can anyone help please


thanks in advance

kevin
 
try (NON array)
=sumproduct((d4:d83=u10)*(b4:b83=x4)*e4:e83)
 

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