# CountIf

#### Kintantay

##### Board Regular
In column J of my spreadsheet I have the following formula:
countif(insheet!\$j\$43:\$j\$59,">10%")+countif(insheet!\$j\$43:\$j\$59,"<-10%")
This counts items >10% and <-10%. Fine.

I tried to apply the same principles in the same column with items that are >1% but <9.But the formual seems to count the zeros. Want I want is the formula to count items >1 but <9 & <-1 but >-9 in one formula. Is that possible?

### Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
How about something like

=COUNTIF(Rng, ">-9%") - COUNTIF(Rng, ">=9%") - COUNTIF(Rng, 0)

this assumes that you don't have any values between -1% and 1% (like 0.5% for example)

Does this formula excludes values that equal zero?

Yep

Owe Great Juan!

If you had a ring, I would kiss it..

Replies
3
Views
113
Replies
3
Views
170
Replies
1
Views
192
Replies
4
Views
349
Replies
3
Views
101

1,203,538
Messages
6,055,992
Members
444,839
Latest member
laurajames

### 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.
Allow Ads at MrExcel

### Which adblocker are you using?

Follow these easy steps to disable AdBlock

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

### Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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