ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sumif problems - meeting 2 criteria then sum (https://www.excelbanter.com/excel-discussion-misc-queries/38245-sumif-problems-meeting-2-criteria-then-sum.html)

Kikkoman

Sumif problems - meeting 2 criteria then sum
 
Column M can be A, B, C, D or E
COlumn N is $amts
Q can be P0, P1, P2 or P3

sum col n if col m = a and col q = p1

=SUMIF($M$14:$M$53,AND($M$14:$M$53="A",$Q$14:$Q$53 ="p1"),$N$14:$N$53)

can't get this formula to give me the correct answer... instead it gives me
Nil all the time... why??



Duke Carey

=SUMPRODUCT(--($M$14:$M$53="A"),--($Q$14:$Q$53="p1"),$N$14:$N$53)


"Kikkoman" wrote:

Column M can be A, B, C, D or E
COlumn N is $amts
Q can be P0, P1, P2 or P3

sum col n if col m = a and col q = p1

=SUMIF($M$14:$M$53,AND($M$14:$M$53="A",$Q$14:$Q$53 ="p1"),$N$14:$N$53)

can't get this formula to give me the correct answer... instead it gives me
Nil all the time... why??




All times are GMT +1. The time now is 02:39 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com