ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   hELP ON COUNTIF (https://www.excelbanter.com/excel-discussion-misc-queries/146781-help-countif.html)

Pietro

hELP ON COUNTIF
 
Dear al,

Could anybody help me getting the suitable code to do the following:

* CountIf Sheet1 E:E 7 and Sheet1 C:C = Sheet2 A:A
* CountIf Sheet1 E:E <4 and Sheet1 C:C = Sheet2 A:A


Max

hELP ON COUNTIF
 
* CountIf Sheet1 E:E 7 and Sheet1 C:C = Sheet2 A:A

For above, try something like:
=SUMPRODUCT((Sheet1!E1:E1007)*(Sheet1!C1:C100=She et2!A1:A100))

Similarly, for the 2nd one as well ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Pietro" wrote:
Dear al,

Could anybody help me getting the suitable code to do the following:

* CountIf Sheet1 E:E 7 and Sheet1 C:C = Sheet2 A:A
* CountIf Sheet1 E:E <4 and Sheet1 C:C = Sheet2 A:A



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

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