Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 78
Default Get lower half of a column of numbers

Hello,
I'd like to pick out the lower half of a column of numbers, basically
anything <median(a2:a50). Is there a way to do this as a sort? I'd like to
remove the upper half. After that I'd like to sort on another field.

Thanks,
Ellen
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 108
Default Get lower half of a column of numbers

If you want to "remove" the upper half in the sense I think, you can just
sort on that column, delete the upper section and then sort on the other
column.

But then, you knew that already, and you're asking this in the context of
formulae. So how about this: Create another column out at the right
somewhere whose formula in row two is "=A2<MEDIAN(A2:A50)". The value of
each cell is either TRUE or FALSE. Then you sort the rows using this column
as the primary and your other column as the secondary; all the rows you want
will be at one end or the other (I forget whether TRUE or FALSE sorts first),
sorted correctly on your other column.

--- "EllenM" wrote:
I'd like to pick out the lower half of a column of numbers, basically
anything <median(a2:a50). Is there a way to do this as a sort? I'd like to
remove the upper half. After that I'd like to sort on another field.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 78
Default Get lower half of a column of numbers

Thanks, Bob. I thought perhaps there was a pick out the rows I wanted with a
sort-- actually, a filter is what I was looking for. Your way also works.
Thanks.
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
print half of rows on left and other half on right Steve B. Excel Discussion (Misc queries) 2 November 16th 07 11:20 AM
Round up numbers to either a half or a whole depending on which side of 0.5 it is John Williams Excel Discussion (Misc queries) 10 November 25th 06 12:11 PM
Can I flag numbers that are higher/lower than a range of #'s Rick Parker Excel Worksheet Functions 1 July 8th 06 01:56 AM
How do I change column size for lower half of sheet? Varsil Excel Discussion (Misc queries) 7 January 20th 06 07:53 PM
How do I fill the upper or lower half of a cell with color? dtmd Excel Worksheet Functions 1 November 3rd 05 05:06 PM


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