Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Need assistance with a formula - If then statement?

I need to determine how often a number occurs in a range of cells above and
below a certain value. The range is 71 cells. I need to know how many times
the number is above 120 and below 120. I then need to know the percentange
of the range that was above 120 and below 120.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Need assistance with a formula - If then statement?

=COUNTIF(A1:A10,"<120")

"Bookmdano" wrote:

I need to determine how often a number occurs in a range of cells above and
below a certain value. The range is 71 cells. I need to know how many times
the number is above 120 and below 120. I then need to know the percentange
of the range that was above 120 and below 120.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Need assistance with a formula - If then statement?

This formula returns the count of cells whose value is less than 120:
=COUNTIF(A1:A71,"<120")

The percent that are less than 120
=COUNTIF(A1:A71,"<120")/COUNTA(A1:A71)
Format that cell as percent

....and for the count greater than 120
=COUNTIF(A1:A71,"120")

The percent that are greater than 120
=COUNTIF(A1:A71,"120")/COUNTA(A1:A71)
Format that cell as percent

NOTE: Per your post, there is no test for cells that EQUAL 120.

Is that something you can work with?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"Bookmdano" wrote in message
...
I need to determine how often a number occurs in a range of cells above and
below a certain value. The range is 71 cells. I need to know how many
times
the number is above 120 and below 120. I then need to know the
percentange
of the range that was above 120 and below 120.



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
Assistance with formula in SumIf statement bp[_2_] New Users to Excel 1 July 24th 07 02:06 AM
Formula Assistance Mharper New Users to Excel 2 July 11th 07 08:10 PM
Assistance with Formula Ben Excel Worksheet Functions 3 June 15th 06 05:11 PM
Need assistance with a formula esmer Excel Worksheet Functions 5 March 7th 06 10:06 PM
I need assistance setting up a "IF" statement mmr Excel Worksheet Functions 3 September 19th 05 03:05 PM


All times are GMT +1. The time now is 10:08 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"