ExcelBanter

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

vincent135

sumif problem
 

is it possible to have muti-columes range in the sumif formula
e.g =sumif(a1:c5,xxx,xxx)

then have multiple criteria?
e.g =sumif(xxx, first colum equals "a" & second colum 1000, xxx)

how should i write it?

thx


--
vincent135
------------------------------------------------------------------------
vincent135's Profile: http://www.excelforum.com/member.php...o&userid=35373
View this thread: http://www.excelforum.com/showthread...hreadid=551836



sumif problem
 
Hi

You could do this using SUMPRODUCT:
=SUMPRODUCT((A2:A100="criteria")*(B2:B100="some more")*(C2:C100))
If you post exactly what you, we can help you. With SUMPRODUCT you can't use
full columns as ranges (A:A) and the ranges must be the same size.
There is some more information on this he
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

Hope this helps.
Andy.

"vincent135" wrote
in message ...

is it possible to have muti-columes range in the sumif formula
e.g =sumif(a1:c5,xxx,xxx)

then have multiple criteria?
e.g =sumif(xxx, first colum equals "a" & second colum 1000, xxx)

how should i write it?

thx


--
vincent135
------------------------------------------------------------------------
vincent135's Profile:
http://www.excelforum.com/member.php...o&userid=35373
View this thread: http://www.excelforum.com/showthread...hreadid=551836




vincent135

sumif problem
 

thank you very much...great help


--
vincent135
------------------------------------------------------------------------
vincent135's Profile: http://www.excelforum.com/member.php...o&userid=35373
View this thread: http://www.excelforum.com/showthread...hreadid=551836



sumif problem
 
Thanks for the feedback, Vincent.

Andy.

"vincent135" wrote
in message ...

thank you very much...great help


--
vincent135
------------------------------------------------------------------------
vincent135's Profile:
http://www.excelforum.com/member.php...o&userid=35373
View this thread: http://www.excelforum.com/showthread...hreadid=551836





All times are GMT +1. The time now is 03:47 PM.

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