Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Determining Frequency of range

I am creating a frequency chart so I have ranges from -14.5 to -15.50 through
+14.5 to 15.5. The data is in a separate spreadsheet. I am using
=(COUNTIF('Sheet'!L$5:L$63,{"-14.5","<-15.5"})). It is pulling the count for
the entire range but not the range for greater than -14.5 and less than -15.5
only.

What do I need to do differently?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Determining Frequency of range

Try SUMPRODUCT. Another point to be noted is that -14.5 is greater than -15.5

=SUMPRODUCT((Sheet!L5:L63<-14.5)*(Sheet!L5:L63-15.5))

If this post helps click Yes
---------------
Jacob Skaria


"Leitodd" wrote:

I am creating a frequency chart so I have ranges from -14.5 to -15.50 through
+14.5 to 15.5. The data is in a separate spreadsheet. I am using
=(COUNTIF('Sheet'!L$5:L$63,{"-14.5","<-15.5"})). It is pulling the count for
the entire range but not the range for greater than -14.5 and less than -15.5
only.

What do I need to do differently?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Determining Frequency of range

greater than -14.5 and less than -15.5

Are you sure that's the range you want to count? If you have a value
of -14.51 it would not be counted. When dealing with negative numbers "less
than" and "greater than" logic gets reversed.

For example, you mght mean to count like this:

greater than -15.5 and less than -14.5

In this case -14.51 would be counted.

--
Biff
Microsoft Excel MVP


"Leitodd" wrote in message
...
I am creating a frequency chart so I have ranges from -14.5 to -15.50
through
+14.5 to 15.5. The data is in a separate spreadsheet. I am using
=(COUNTIF('Sheet'!L$5:L$63,{"-14.5","<-15.5"})). It is pulling the count
for
the entire range but not the range for greater than -14.5 and less
than -15.5
only.

What do I need to do differently?



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
count frequency of a word in range of cells learningaccess Excel Discussion (Misc queries) 2 February 13th 09 02:05 PM
Frequency of numbers in a range Graham Excel Worksheet Functions 6 September 25th 07 11:44 AM
Determining if a range of cells is missing a formula Bob Excel Worksheet Functions 6 December 20th 06 04:00 PM
Why does a simple frequency distribution count out of range data? [email protected] Excel Worksheet Functions 3 July 19th 06 07:55 AM
Frequency within date range cursednomore Excel Worksheet Functions 2 September 12th 05 08:44 PM


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

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

About Us

"It's about Microsoft Excel"