ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   multi column of sumif (https://www.excelbanter.com/excel-worksheet-functions/88777-multi-column-sumif.html)

birdsting

multi column of sumif
 
while I create a multi column sumif function as this:
=sumif(a:a,"special",or/and(b:b,d:d,f:f)), but it is unable to function. So, I use the duplicate sumif function like this:
=sumif(a:a,"special",b:b)+sumif(a:a,"special",d:d) +sumif(a:a,"special",f:f).

Please tell me how to simplify it with thanks.

Don Guillett

multi column of sumif
 
this will work if nothing in col c or e
=SUMPRODUCT((A2:A22="special")*B2:F22)

--
Don Guillett
SalesAid Software

"birdsting" wrote in message
...

while I create a multi column sumif function as this:
=sumif(a:a,"special",or/and(b:b,d:d,f:f)), but it is unable to
function. So, I use the duplicate sumif function like this:
=sumif(a:a,"special",b:b)+sumif(a:a,"special",d:d) +sumif(a:a,"special",f:f).

Please tell me how to simplify it with thanks.


--
birdsting




birdsting

Thanks a lot Mr. Don Guillett for your help!.

Rgds,
Birdsting


Don Guillett

multi column of sumif
 
Glad to help but as I said it won't help much if something in c or e.

--
Don Guillett
SalesAid Software

"birdsting" wrote in message
...

Thanks a lot Mr. Don Guillett for your help!.

Rgds,
Birdsting

Don Guillett Wrote:
this will work if nothing in col c or e
=SUMPRODUCT((A2:A22="special")*B2:F22)

--
Don Guillett
SalesAid Software

"birdsting"
wrote in message
...

while I create a multi column sumif function as this:
=sumif(a:a,"special",or/and(b:b,d:d,f:f)), but it is unable to
function. So, I use the duplicate sumif function like this:

=sumif(a:a,"special",b:b)+sumif(a:a,"special",d:d) +sumif(a:a,"special",f:f).

Please tell me how to simplify it with thanks.


--
birdsting



--
birdsting





All times are GMT +1. The time now is 05:26 PM.

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