CountIF Formula help

demodren

Board Regular
Joined
Aug 20, 2010
Messages
106
Hi all, I am looking for some basic help on some count formulas.. any help would be much appreciated..Thanks so much

I am using:
Code:
=COUNTIF(W17:W1500,"<>0")

I am trying to do couple of things:
1) Count number of rows with values <> 0
it seems it counts rows that are blank as a value as well. Is there a way to avoid it? I am specifically looking for it to give me a count of how many cells do not have the value 0. (W17:W1500 is just a range, my total rows are only 1000, I think its scanning all 1500 rows and adding count to blank cells)

2) Count number of rows with values <-1 OR >1
=COUNTIF(W17:W1500,">1") OR =COUNTIF(W17:W1500,"-<1")
is there a way to combine these?

Thanks so much
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,225,156
Messages
6,183,246
Members
453,152
Latest member
ChrisMd

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?

Disable AdBlock

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
Back
Top