Countifs greater or less than full column

LouSmidge

New Member
Joined
Dec 6, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I need to count in a column on another tab in the full column for any values greater than 1 or less than -1. I have created an IF formula followed by Countifs for the look up detail i need to count but this formula is returning 0.

Any help greatly appreciated.

=IF(OR(COUNTIFS(Analysis!AB:AB,"<=-1"),COUNTIFS(Analysis!AB:AB,">=1")),COUNTIFS(Analysis!T:T,CFOii!B4,Analysis!AJ:AJ,CFOii!B9),0)
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Welcome to the MrExcel forum!

Your question is a little vague, but try:

Excel Formula:
=SUM(COUNTIFS(Analysis!AB:AB,{"<=-1",">=1"},Analysis!T:T,CFOii!B4,Analysis!AJ:AJ,CFOii!B9))
 
Upvote 0
Apologies for my vague question but that solution has now counted the items, so thanks for that.

I'm trying to count the movement of assets year on year by their delivery price. Col AnalysisAB is the year 2024 and if this has a negative delivery price balance meaning it pushed its delivery to 2025.

I now have the count from your suggestion above but how do I show that a negative balance in Col AB should return a negative sum and vice versa for a positive?

Thanks again!
 
Upvote 0
So you're saying that if there are 3 negative values, and 10 positive values, you want a result of 7? Try:


Excel Formula:
=SUM(COUNTIFS(Analysis!AB:AB,{"<=-1",">=1"},Analysis!T:T,CFOii!B4,Analysis!AJ:AJ,CFOii!B9)*{-1,1})
 
Upvote 0
Solution

Forum statistics

Threads
1,224,521
Messages
6,179,277
Members
452,902
Latest member
Knuddeluff

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