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

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
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,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

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