ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Count with multiple conditions (https://www.excelbanter.com/excel-worksheet-functions/236160-count-multiple-conditions.html)

Curtis

Count with multiple conditions
 
Sheet 1 Column A rows 1 thru 9 = certain different values
Sheet 1 Column B will contain the formula to count the number of instances
in sheet 2 where all the values in column H must = "specific text" and the
values in sheet 2 column J = the values in sheet 1 column A1, a2, a3...


thanks

ce

Bernard Liengme[_3_]

Count with multiple conditions
 
=SUMPRODUCT(--(Sheet2!$J$1:$J$100=A1),--(Sheet2!$H$1:$H$100="specific
text"))

For more details on SUMPRODUCT
Bob Phillips
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
J.E McGimpsey
http://mcgimpsey.com/excel/formulae/doubleneg.html

--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Curtis" wrote in message
...
Sheet 1 Column A rows 1 thru 9 = certain different values
Sheet 1 Column B will contain the formula to count the number of instances
in sheet 2 where all the values in column H must = "specific text" and the
values in sheet 2 column J = the values in sheet 1 column A1, a2, a3...


thanks

ce





All times are GMT +1. The time now is 12:06 AM.

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