# Using countif statements

##### New Member
I want to know if I use a countif statement to count the range of values in column A =COUNTIF(A5:A564,"<=3" can I also combine another countif statement to count the range of percentages in column B =COUNTIF(B5:B564,">=100%") The reason is the first statement is counting how many widgets were sold. The second statement counts the widgets sold versus the sales goal resulting in a percentage. IF you do not count them together you cannot break them down into categories such 0-3,4-5,6-8,9-+,etc..

HELP!

### Excel Facts

Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Use SUMPRODUCT for multiple criteria:

=SUMPRODUCT(--(A5:A564<=3),--(B5:B564>=100%))

Andrew, You are the Yoda of Excel.

Replies
6
Views
220
Replies
1
Views
475
Replies
3
Views
471
Replies
7
Views
1K
Replies
7
Views
439

1,216,574
Messages
6,131,496
Members
449,653
Latest member
aurelius33

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back