Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Counting values lower then the median.

Thank you in advance for any help anyone may be able to offer.

I have a list of numeric values in column A.

in B1 I use the function =median(A1:A150) to get the median value for
column A

In C1 I would like a count of the values in column A which are LOWER
then the Median value in B1

I tried using the =countif(A1:A150, < B1) but i get an error so that is
obviously not correct.

How do I get this count?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Counting values lower then the median.

=COUNTIF(A1:A150,"<"&B1)


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com



wrote in message
oups.com...
Thank you in advance for any help anyone may be able to offer.

I have a list of numeric values in column A.

in B1 I use the function =median(A1:A150) to get the median value for
column A

In C1 I would like a count of the values in column A which are LOWER
then the Median value in B1

I tried using the =countif(A1:A150, < B1) but i get an error so that is
obviously not correct.

How do I get this count?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mark Lincoln
 
Posts: n/a
Default Counting values lower then the median.

This works for me:

=SUMPRODUCT(--(ISNUMBER(A1:A150)),--(A1:A150<B1))

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mark Lincoln
 
Posts: n/a
Default Counting values lower then the median.

I wrote:

This works for me:


SUMPRODUCT(--(ISNUMBER(A1:A150)),--(A1:A150<B1))

----------

But the other solution is much neater.... :-)

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
Counting Distinct Values giantwolf Excel Discussion (Misc queries) 4 December 29th 05 03:03 PM
Counting the number of values in a list between two specified valu andyuae Excel Worksheet Functions 2 November 25th 05 03:32 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM
Counting Values on a condition madeforidiots Excel Worksheet Functions 1 July 27th 05 12:40 AM
If Then, not using values, or not counting blanks Need Help 123 Excel Worksheet Functions 8 July 20th 05 06:23 PM


All times are GMT +1. The time now is 07:34 PM.

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"