Skip to main content

How to countif absolute values greater/less than given value in Excel?

Author: Kelly Last Modified: 2017-03-27

For example there is a series of positive numbers and negative numbers in a range in Excel, how could you quickly count the total number of numbers whose absolute values are greater than or less than a given value? This article will introduce some methods to solve it easily.

Countif absolute values greater/less than given value with formulas

Countif absolute values greater/less than given values with Kutools for Excel

Easily sum absolute values in Excel

For example there are many positive numbers and negative numbers in a range. But now you want to sum the absolute values in each cell, how? Try Kutools for Excel's Sum absolute Values formula to get it done easily!

ad sum absolute values


We can countif the numbers whose absolute values are greater than or less than a certain value with formulas easily in Excel.

Select a blank cell you will place the counting result into, type the formula =SUMPRODUCT(--(ABS(B2:B13)<=60)) (B2:B13 is the range you will count if absolute values are less than the given value, and 60 is the given value ) into it, and press the Enter key.

And now the numbers whose absolute values are less than the given number has been counted out. See screenshot:

 

Notes:

(1) For counting numbers whose absolute values are greater than the given number, please replace the “<=” with “>=”, and the formula will show as =SUMPRODUCT(--(ABS(B2:B13)>=60)).

(2) You can also apply this formula =COUNTIF(B2:B13,">=-60")-COUNTIF(B2:B13,">=60") to count the numbers whose absolute values are less than the given value.


If we can convert all negative numbers to positive, we can apply the normal COUNTIF function to count the numbers whose absolute values are greater than or less than a certain value easily. This method will introduce Kutools for Excel’s Change Sign of Values utility and the COUNTIF function to solve this problem at ease.

Kutools for Excel - Packed with over 300 essential tools for Excel. Enjoy a full-featured 30-day FREE trial with no credit card required! Download now!

1. Select the range you will count, and click Kutools > Content > Change Sign of Values. See screenshot:

2. In the opening Change Sign of Values dialog box, please check the Change all negative values to positive option, and click the Ok button.

And now all negative numbers in the selected range are converted to corresponding positive numbers. See screenshot:

3. Type the formula =COUNTIF(B2:B13,"<="&"60") (B2:B13 is the range you will work with, 60 is the given value) into a blank cell, and press the Enter key. And the numbers whose absolute values are less than the given number is counted out at once.

Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy a full-featured 30-day FREE trial with no credit card required! Get It Now


Kutools for Excel: Over 300 handy tools at your fingertips! Start your 30-day free trial with no feature limitations today. Download Now!

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations