Greater than AND not equal to 0

TheMacroNoob

Board Regular
Joined
Aug 5, 2022
Messages
52
Office Version
  1. 365
Platform
  1. Windows
Hello excel gurus,

I have googled long and far and wasn't able to find the solution to this basic problem.

I am trying to COUNTIF a range is greater than (-1,000,000). I noticed the number it was resulting in was too high.

I have a lot of zeros in the table, which seem to qualify for that logical statement.

The logical operator for "not equal to" is (<>), but I don't know how to make my formula countif both greater than (-1,000,000) AND <> 0.

=COUNTIFS('Unclosed Deals - 0.95'!$DB$5:$DB$67,">"&'Summary - 0.95'!$C$45)

I was thinking something like:
=COUNTIFS('Unclosed Deals - 0.95'!$DB$5:$DB$67,AND(">"&'Summary - 0.95'!$C$45,"<>0"))
or something similar but it doesn't work. I tried "<>"&0 as well and that didn't work.

I greatly appreciate your insight.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
How about
Excel Formula:
=COUNTIFS('Unclosed Deals - 0.95'!$DB$5:$DB$67,">"&'Summary - 0.95'!$C$45,'Unclosed Deals - 0.95'!$DB$5:$DB$67,"<>0")
 
Upvote 0
Solution

Forum statistics

Threads
1,224,818
Messages
6,181,151
Members
453,021
Latest member
Justyna P

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