#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default A row of values

I have a row of 50 numericlical values. Some are positive other
negative.
Is there any way other than manually counting, I can determine
how many values are say greater than 4? Or how many values are
less than or equal to -2?
Any formula help will be much appreciated.
Thanks
Skip
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default A row of values

You would use the COUNTIF function. For your two questions...

=COUNTIF(1:1,"4")

=COUNTIF(1:1,"<=-2")

--
Rick (MVP - Excel)


"Skip" wrote in message
...
I have a row of 50 numericlical values. Some are positive other
negative.
Is there any way other than manually counting, I can determine
how many values are say greater than 4? Or how many values are
less than or equal to -2?
Any formula help will be much appreciated.
Thanks
Skip


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default A row of values

On Oct 8, 3:57*pm, "Rick Rothstein"
wrote:
You would use the COUNTIF function. For your two questions...

=COUNTIF(1:1,"4")

=COUNTIF(1:1,"<=-2")

--
Rick (MVP


Rick many thanks. One more question can I enter a cell number rather
than a value like 4 or -2, and
have the formula countif according to the value in the cell?
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default A row of values

Assuming A2 has the value 4 in it...

=COUNTIF(1:1,""&A2)

and if A3 has the value -2 in it...

=COUNTIF(1:1,"<="&A3)

--
Rick (MVP - Excel)


"Skip" wrote in message
...
On Oct 8, 3:57 pm, "Rick Rothstein"
wrote:
You would use the COUNTIF function. For your two questions...

=COUNTIF(1:1,"4")

=COUNTIF(1:1,"<=-2")

--
Rick (MVP


Rick many thanks. One more question can I enter a cell number rather
than a value like 4 or -2, and
have the formula countif according to the value in the cell?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
calculate values in an unlimited range of cells in a column WITHOUTalso calculating values that had previously been filtered AGAINST? yadang Excel Discussion (Misc queries) 2 October 1st 09 06:18 PM
Excel 2007 doesnt show Y-axis values when the values are small. outback Charts and Charting in Excel 2 October 26th 08 01:37 AM
Exclude #N/A values and Return Numeric values to consecutive cells in Single Row Sam via OfficeKB.com Excel Worksheet Functions 5 February 9th 08 03:07 AM
create list of unique values from a column with repeated values? Chad Schaben Excel Worksheet Functions 1 July 8th 05 10:25 PM
Excel Compare values in columns & display missing values in a new cpetta Excel Discussion (Misc queries) 1 April 2nd 05 05:51 AM


All times are GMT +1. The time now is 02:00 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"