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 Return the row number of Median value of a column

I have over 150 rows of data with 20 columns and every three rows is made of
one group. In each group, I need to find the row which holds the meadian
value of one of the column. Since I will do this for almost ten columns, I
wonder if there is an easy way to do it. The Median function will only return
the median value of the column and will not return the row number. Any
suggestions? Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Return the row number of Median value of a column

Maybe

=MATCH(MEDIAN(A:A),A:A,FALSE)

Mike

"J.Y.Joe" wrote:

I have over 150 rows of data with 20 columns and every three rows is made of
one group. In each group, I need to find the row which holds the meadian
value of one of the column. Since I will do this for almost ten columns, I
wonder if there is an easy way to do it. The Median function will only return
the median value of the column and will not return the row number. Any
suggestions? Thanks in advance.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Return the row number of Median value of a column

The median value isn't necessarily a value that's in the range:

A1 = 1
A2 = 2
A3 = 3
A4 = 4

=MEDIAN(A1:A4) = 2.5

=MATCH(MEDIAN(A:A),A:A,FALSE) = #N/A


--
Biff
Microsoft Excel MVP


"Mike H" wrote in message
...
Maybe

=MATCH(MEDIAN(A:A),A:A,FALSE)

Mike

"J.Y.Joe" wrote:

I have over 150 rows of data with 20 columns and every three rows is made
of
one group. In each group, I need to find the row which holds the meadian
value of one of the column. Since I will do this for almost ten columns,
I
wonder if there is an easy way to do it. The Median function will only
return
the median value of the column and will not return the row number. Any
suggestions? Thanks in advance.



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
Return column number from column header text Roger[_3_] Excel Discussion (Misc queries) 4 February 14th 08 09:40 PM
To return the column number of a string [email protected] Excel Worksheet Functions 0 June 28th 07 07:02 PM
Look up values in a column and return ALL corresponding row number Ima Nidiot New Users to Excel 2 January 9th 07 02:51 PM
In a column of numbers, how do I return the last non-zero number? ACEACE Excel Discussion (Misc queries) 4 March 15th 06 08:36 PM
Column() to return a letter instead of a number? cKBoy Excel Worksheet Functions 16 February 17th 06 04:50 AM


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