Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
murphyfilur
 
Posts: n/a
Default How to od a combined IF and AND in a matrix formula

Hi,

What I want to do is counting a sum based on fulfilment of two criterias

=SUM(IF(AND(A1:A10=F1;B1:B10=F2);SUM(C1:C10))

Regards

murphy
  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

=SUMPRODUCT(--(A1:A10=F1);--(B1:B10=F2);C1:C10)


Arvi Laanemets


"murphyfilur" wrote in message
...
Hi,

What I want to do is counting a sum based on fulfilment of two criterias

=SUM(IF(AND(A1:A10=F1;B1:B10=F2);SUM(C1:C10))

Regards

murphy



  #3   Report Post  
Ola
 
Posts: n/a
Default

Here are two options:

The count of all C's that fullfill the A and B criterias.
=SUMPRODUCT((A1:A10=F1)*(B1:B10=F2))

The sum...
=SUMPRODUCT((A1:A10=F1)*(B1:B10=F2)*(C1:C10))

Hope it helped
Ola Sandström


  #4   Report Post  
Ashish Mathur
 
Posts: n/a
Default

Hi,

Try this

SUM(IF((a1:$a$10=f1)*(b1:$b$10=f2),c1:c10))

Regards,

"murphyfilur" wrote:

Hi,

What I want to do is counting a sum based on fulfilment of two criterias

=SUM(IF(AND(A1:A10=F1;B1:B10=F2);SUM(C1:C10))

Regards

murphy

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"