#1   Report Post  
Jonny
 
Posts: n/a
Default Not Lookup

Hello,

I have a table of 20 rows with TIME in Column B, NUMBER OF TARGETS in Column
C, and RESULT in Column F.

In Column C there are up to 20 values (some will be blank) which can not be
in any defined order as they are dictated by the Time in Column B. I wan't
to find the four highest results in Column F (probably using the LARGE
Worksheet Fn), the corresponding Numbers of Targets from Column C, and find
the average number of these Targets.

My main problem is that the RESULTS in Column F may duplicate and can not be
put in to order, so I don't think I can use LOOKUP.

If anyone understood this explaination, do you have a solution?

Help Needed

Thanks in advance.

  #2   Report Post  
bj
 
Posts: n/a
Default

try
=(large(J1:J20,1)+if(is
error(large(J1:J20,2),large(J1:J20,1),Large(j1:j20 ,2))+
if(is error(large(J1:J20,3),if(is
error(large(J1:J20,2),large(J1:J20,1),Large(J1:J20 ,2)),Large(J1:J20,3))+if(is
error(large(J1:J20,4),if(is error(large(J1:J20,3),if(is
error(large(J1:J20,2),large(J1:J20,1),Large(J1:J20 ,2)),Large(J1:J20,3)),large(J1:J20,4)))))/4

I lost track of my parenthesis, so forgive me if you have to play with the
Parenthesis.



"Jonny" wrote:

Hello,

I have a table of 20 rows with TIME in Column B, NUMBER OF TARGETS in Column
C, and RESULT in Column F.

In Column C there are up to 20 values (some will be blank) which can not be
in any defined order as they are dictated by the Time in Column B. I wan't
to find the four highest results in Column F (probably using the LARGE
Worksheet Fn), the corresponding Numbers of Targets from Column C, and find
the average number of these Targets.

My main problem is that the RESULTS in Column F may duplicate and can not be
put in to order, so I don't think I can use LOOKUP.

If anyone understood this explaination, do you have a solution?

Help Needed

Thanks in advance.

  #3   Report Post  
Jonny
 
Posts: n/a
Default

Yes, I have that to find the average of the top 4 in column F.

So If the highest is F9, i need the value of C9, If the second highest is
F14, i need the value of C14, etc. then the average of C9,C14...

Then I will have the average of the four highest in F (which i have) and the
average C value of these (which i need)

Does that clarify a little!

"bj" wrote:

try
=(large(J1:J20,1)+if(is
error(large(J1:J20,2),large(J1:J20,1),Large(j1:j20 ,2))+
if(is error(large(J1:J20,3),if(is
error(large(J1:J20,2),large(J1:J20,1),Large(J1:J20 ,2)),Large(J1:J20,3))+if(is
error(large(J1:J20,4),if(is error(large(J1:J20,3),if(is
error(large(J1:J20,2),large(J1:J20,1),Large(J1:J20 ,2)),Large(J1:J20,3)),large(J1:J20,4)))))/4

I lost track of my parenthesis, so forgive me if you have to play with the
Parenthesis.



"Jonny" wrote:

Hello,

I have a table of 20 rows with TIME in Column B, NUMBER OF TARGETS in Column
C, and RESULT in Column F.

In Column C there are up to 20 values (some will be blank) which can not be
in any defined order as they are dictated by the Time in Column B. I wan't
to find the four highest results in Column F (probably using the LARGE
Worksheet Fn), the corresponding Numbers of Targets from Column C, and find
the average number of these Targets.

My main problem is that the RESULTS in Column F may duplicate and can not be
put in to order, so I don't think I can use LOOKUP.

If anyone understood this explaination, do you have a solution?

Help Needed

Thanks in advance.

  #4   Report Post  
bj
 
Posts: n/a
Default

I misread your post
If there is a tie for 4th would the same value be in C or is there a tie
breaker?

=if(iserror(large(F1:F20,5), Tiebreaker,
=sumproduct(--(rank(F1:F20)<5),C1:C20))/4


"Jonny" wrote:

Hello,

I have a table of 20 rows with TIME in Column B, NUMBER OF TARGETS in Column
C, and RESULT in Column F.

In Column C there are up to 20 values (some will be blank) which can not be
in any defined order as they are dictated by the Time in Column B. I wan't
to find the four highest results in Column F (probably using the LARGE
Worksheet Fn), the corresponding Numbers of Targets from Column C, and find
the average number of these Targets.

My main problem is that the RESULTS in Column F may duplicate and can not be
put in to order, so I don't think I can use LOOKUP.

If anyone understood this explaination, do you have a solution?

Help Needed

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
lookup more than one cell andrewm Excel Worksheet Functions 20 June 14th 05 05:33 AM
Lookup Vector > Lookup Value Alec Kolundzic Excel Worksheet Functions 6 June 10th 05 02:14 PM
Lookup Function Problem seve Excel Discussion (Misc queries) 9 February 28th 05 02:46 AM
Lookup function w/Text and Year Josh O. Excel Worksheet Functions 1 February 12th 05 11:27 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


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