ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   sumif (https://www.excelbanter.com/excel-discussion-misc-queries/197117-sumif.html)

mdbuege

sumif
 
before i have used the {sum(if(a=b)*(c=d),a:z,false)}

I know the formula says if a=b AND c=d then sum a:z

Is it possible to do a=b OR c=d then sum a:z?

John C[_2_]

sumif
 
=IF(OR(A=B,C=D),SUM(A:Z),FALSE)
--
John C


"mdbuege" wrote:

before i have used the {sum(if(a=b)*(c=d),a:z,false)}

I know the formula says if a=b AND c=d then sum a:z

Is it possible to do a=b OR c=d then sum a:z?


David Biddulph[_2_]

sumif
 
Try changing * to +
--
David Biddulph

"mdbuege" wrote in message
...
before i have used the {sum(if(a=b)*(c=d),a:z,false)}

I know the formula says if a=b AND c=d then sum a:z

Is it possible to do a=b OR c=d then sum a:z?





All times are GMT +1. The time now is 04:18 PM.

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