Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
kwh kwh is offline
external usenet poster
 
Posts: 13
Default Advanced Filtering by top scores

I am requiring filtering of a list of employees over a who are scored on
performance over a period of time. I would like to filter for the top five
most recent dates for each employee and average the scores for that filtered
data.

Is that possible in advanced filtering? If so, how is it done?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Advanced Filtering by top scores

In Excel 2003

A1:A10 are the names
B1:B10 are the dates
C1:C10 are the scores

=AVERAGE(IF(A1:A10="Barb",IF(B1:B10=LARGE(B1:B10, 5),C1:C10)))

Commit with CTRL SHIFT ENTER.
--
HTH,
Barb Reinhardt




"kwh" wrote:

I am requiring filtering of a list of employees over a who are scored on
performance over a period of time. I would like to filter for the top five
most recent dates for each employee and average the scores for that filtered
data.

Is that possible in advanced filtering? If so, how is it done?

  #3   Report Post  
Posted to microsoft.public.excel.programming
kwh kwh is offline
external usenet poster
 
Posts: 13
Default Advanced Filtering by top scores


Unfortunately I am in Excel XP (2002). Any solution for that version.


"Barb Reinhardt" wrote:

In Excel 2003

A1:A10 are the names
B1:B10 are the dates
C1:C10 are the scores

=AVERAGE(IF(A1:A10="Barb",IF(B1:B10=LARGE(B1:B10, 5),C1:C10)))

Commit with CTRL SHIFT ENTER.
--
HTH,
Barb Reinhardt




"kwh" wrote:

I am requiring filtering of a list of employees over a who are scored on
performance over a period of time. I would like to filter for the top five
most recent dates for each employee and average the scores for that filtered
data.

Is that possible in advanced filtering? If so, how is it done?

  #4   Report Post  
Posted to microsoft.public.excel.programming
kwh kwh is offline
external usenet poster
 
Posts: 13
Default Advanced Filtering by top scores

I tried the equation and get a "#value" result. Looking at it more closely,
the "IF" statements are not completed. Only the first of the two arugments
are stated. I would assume that if the argument is not met you would want
some kind of message. What do you think?

"Barb Reinhardt" wrote:

In Excel 2003

A1:A10 are the names
B1:B10 are the dates
C1:C10 are the scores

=AVERAGE(IF(A1:A10="Barb",IF(B1:B10=LARGE(B1:B10, 5),C1:C10)))

Commit with CTRL SHIFT ENTER.
--
HTH,
Barb Reinhardt




"kwh" wrote:

I am requiring filtering of a list of employees over a who are scored on
performance over a period of time. I would like to filter for the top five
most recent dates for each employee and average the scores for that filtered
data.

Is that possible in advanced filtering? If so, how is it done?

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Advanced Filtering by top scores

Did you remember to enter it as an array formula?

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

kwh wrote:

I tried the equation and get a "#value" result. Looking at it more closely,
the "IF" statements are not completed. Only the first of the two arugments
are stated. I would assume that if the argument is not met you would want
some kind of message. What do you think?

"Barb Reinhardt" wrote:

In Excel 2003

A1:A10 are the names
B1:B10 are the dates
C1:C10 are the scores

=AVERAGE(IF(A1:A10="Barb",IF(B1:B10=LARGE(B1:B10, 5),C1:C10)))

Commit with CTRL SHIFT ENTER.
--
HTH,
Barb Reinhardt




"kwh" wrote:

I am requiring filtering of a list of employees over a who are scored on
performance over a period of time. I would like to filter for the top five
most recent dates for each employee and average the scores for that filtered
data.

Is that possible in advanced filtering? If so, how is it done?


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.programming
kwh kwh is offline
external usenet poster
 
Posts: 13
Default Advanced Filtering by top scores

I get a #DIV/0! result. Is the averaging complicating the issue? In the
end, like the auto filter, I would like a list of the five most recent dates
of each employees. I could manage the average another way. Any thoughts?

"Dave Peterson" wrote:

Did you remember to enter it as an array formula?

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

kwh wrote:

I tried the equation and get a "#value" result. Looking at it more closely,
the "IF" statements are not completed. Only the first of the two arugments
are stated. I would assume that if the argument is not met you would want
some kind of message. What do you think?

"Barb Reinhardt" wrote:

In Excel 2003

A1:A10 are the names
B1:B10 are the dates
C1:C10 are the scores

=AVERAGE(IF(A1:A10="Barb",IF(B1:B10=LARGE(B1:B10, 5),C1:C10)))

Commit with CTRL SHIFT ENTER.
--
HTH,
Barb Reinhardt




"kwh" wrote:

I am requiring filtering of a list of employees over a who are scored on
performance over a period of time. I would like to filter for the top five
most recent dates for each employee and average the scores for that filtered
data.

Is that possible in advanced filtering? If so, how is it done?


--

Dave Peterson

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Advanced Filtering by top scores

Share the formula that you used.

And double check to see if your data matches what you used in your formula.

kwh wrote:

I get a #DIV/0! result. Is the averaging complicating the issue? In the
end, like the auto filter, I would like a list of the five most recent dates
of each employees. I could manage the average another way. Any thoughts?

"Dave Peterson" wrote:

Did you remember to enter it as an array formula?

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

kwh wrote:

I tried the equation and get a "#value" result. Looking at it more closely,
the "IF" statements are not completed. Only the first of the two arugments
are stated. I would assume that if the argument is not met you would want
some kind of message. What do you think?

"Barb Reinhardt" wrote:

In Excel 2003

A1:A10 are the names
B1:B10 are the dates
C1:C10 are the scores

=AVERAGE(IF(A1:A10="Barb",IF(B1:B10=LARGE(B1:B10, 5),C1:C10)))

Commit with CTRL SHIFT ENTER.
--
HTH,
Barb Reinhardt




"kwh" wrote:

I am requiring filtering of a list of employees over a who are scored on
performance over a period of time. I would like to filter for the top five
most recent dates for each employee and average the scores for that filtered
data.

Is that possible in advanced filtering? If so, how is it done?


--

Dave Peterson


--

Dave Peterson
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
Advanced Filtering Corina Excel Discussion (Misc queries) 2 March 18th 10 06:28 AM
advanced filtering Lola Excel Discussion (Misc queries) 1 February 27th 08 08:16 PM
Advanced filtering mutie Excel Worksheet Functions 8 July 2nd 06 03:28 PM
advanced filtering in XLS Tina Excel Worksheet Functions 1 September 3rd 05 01:50 PM
Advanced Filtering Tony Excel Worksheet Functions 3 April 29th 05 11:48 AM


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