Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default QUARTILE Function on Sorted Data

I am trying to utilize the QUARTILE function on a series of investment
returns. When utilizing the complete data set (returns on 195 funds),
Quartile works fine. However, when I use Autofilter to focus on returns say
in Asia (returns on 21 funds), Quartile returns the same results as if using
the complete data set (all 195 funds). How does one get the QUARTILE
function to ignore the hidden values sorted out by the use of Autofilter? Or
do I need to take a different approach?

Thanks in advance for the help. Gerry
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 265
Default QUARTILE Function on Sorted Data

Assuming that B2:B10 contains the data, try the following formula that
needs to be confirmed with CONTROL+SHIFT+ENTER...

=QUARTILE(IF(SUBTOTAL(3,OFFSET(B2:B10,ROW(B2:B10)-ROW(B2),0,1)),B2:B10),2
)

Adjust the range and quart, accordingly.

Hope this helps!

In article ,
Gerry Pat wrote:

I am trying to utilize the QUARTILE function on a series of investment
returns. When utilizing the complete data set (returns on 195 funds),
Quartile works fine. However, when I use Autofilter to focus on returns say
in Asia (returns on 21 funds), Quartile returns the same results as if using
the complete data set (all 195 funds). How does one get the QUARTILE
function to ignore the hidden values sorted out by the use of Autofilter? Or
do I need to take a different approach?

Thanks in advance for the help. Gerry

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default QUARTILE Function on Sorted Data

Thanks! It seems to be working very well. Now to test it on several
thousand returns. Again, thanks.

"Domenic" wrote:

Assuming that B2:B10 contains the data, try the following formula that
needs to be confirmed with CONTROL+SHIFT+ENTER...

=QUARTILE(IF(SUBTOTAL(3,OFFSET(B2:B10,ROW(B2:B10)-ROW(B2),0,1)),B2:B10),2
)

Adjust the range and quart, accordingly.

Hope this helps!

In article ,
Gerry Pat wrote:

I am trying to utilize the QUARTILE function on a series of investment
returns. When utilizing the complete data set (returns on 195 funds),
Quartile works fine. However, when I use Autofilter to focus on returns say
in Asia (returns on 21 funds), Quartile returns the same results as if using
the complete data set (all 195 funds). How does one get the QUARTILE
function to ignore the hidden values sorted out by the use of Autofilter? Or
do I need to take a different approach?

Thanks in advance for the help. Gerry


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
Lookup to return count, median, lower quartile, upper quartile&ave Bee Excel Discussion (Misc queries) 9 October 8th 07 03:31 PM
Why MS Excel produce diffrent result for the function "Quartile" Nadeem Shafique Butt Excel Worksheet Functions 2 October 11th 06 03:08 PM
Advance function of excel to get sorted data Charlie Excel Worksheet Functions 1 April 3rd 06 03:43 PM
Quartile / Quintile Function Greg Excel Worksheet Functions 1 April 21st 05 04:03 AM
Quartile Function tika528 Excel Discussion (Misc queries) 4 March 16th 05 01:11 PM


All times are GMT +1. The time now is 06:34 AM.

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

About Us

"It's about Microsoft Excel"