Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Excel 2007 function CountIf


08 Oct 2013   #1

Windows 7 64bit
 
 
Excel 2007 function CountIf

I would like to know whether there is a possibility of using other functions in the search criteria argument of the CountIf Function that also refer to the cells in the domain to which CountIf is applied.
The same question arises when using for example SumIf Function.

Thanks a lot for your help

Kind regards

My System SpecsSystem Spec
.

08 Oct 2013   #2

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64 Ubuntu 12.04 LTS Tri-Boot
 
 

SUMPRODUCT is usually used to substitute a combination of SUMIF and COUNTIF. What exactly are you trying to determine in Excel? Can you upload an example spreadsheet?

Have a read:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
My System SpecsSystem Spec
09 Oct 2013   #3

Windows 7 64bit
 
 
To Golden in connexion with CountIf

Thank you very much for the link referring to "sumproduct". Since momentarily I have no much free time left, it will take a few days until I can read through it.

I would like to do the following:

Lets assume there is a column of numbers and one would like to count how many of them can be divided by a given number e.g. 3.

The condition to be checked could be something like: number/3-round(number/3;0) = 0

Now, what I would like to know is if such an expression can be directly combined with the countIf function (without introducing "artificial" columns), something like

CountIf(A1:A1000; number in each cell/3-round(number in each cell/3;0) = 0)

I hope my question is not too idiotic.
Looking forward to your reply
My System SpecsSystem Spec
.


15 Oct 2013   #4

Linux Mint 17 Cinnamon | Win 7 Ult x64
 
 

Try This

{=COUNT(A1:A1000)-COUNT(IF(MOD(A1:A1000,3),A1:A1000))}

Don't type the curly braces, they will be added automatically

This is an array formula so you have to press CTRL-SHIFT-ENTER at the end of the formula

hth
My System SpecsSystem Spec
Reply

 Excel 2007 function CountIf




Thread Tools



Similar help and support threads for2: Excel 2007 function CountIf
Thread Forum
AERO function not working for MS Excel 2007 General Discussion
Cannot access the Ribbon functions in Excel 2007 or Word 2007 Microsoft Office
Solved Excel 2007 Addon Microsoft Office
Excel 2007 Microsoft Office
Can't open 2003 Excel Files in Excel 2007? Microsoft Office

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:01 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33