Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default index and match on 2 largest value

A B
1 Bill 1/1/2003
2 Ralph 11/14/2004
3 Mike 11/16/2004
4 Ralph 2/7/2005
5 Ralph 1/14/2006

7 Ralph

I am having more trouble than I thought I would with this one. Tried
to do index and match formula with small function in cell B7 that would
return 2 largest value for Ralph... in this case that value would be
2/7/2005. Column A cannot be alphabetical. Column B is chronological.



Thanks for any help, Steve

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 256
Default index and match on 2 largest value

Try...

=LARGE(IF($A$1:$A$5=A7,$B$1:$B$5),2)

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article . com,
"Steve" wrote:

A B
1 Bill 1/1/2003
2 Ralph 11/14/2004
3 Mike 11/16/2004
4 Ralph 2/7/2005
5 Ralph 1/14/2006

7 Ralph

I am having more trouble than I thought I would with this one. Tried
to do index and match formula with small function in cell B7 that would
return 2 largest value for Ralph... in this case that value would be
2/7/2005. Column A cannot be alphabetical. Column B is chronological.



Thanks for any help, Steve

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 208
Default index and match on 2 largest value

=SUMPRODUCT( LARGE( ( A1:A5 = "Ralph" ) * B1:B5, 2 ) )

Or the array formula

{=LARGE( ( A1:A5 = "Ralph" ) * B1:B5, 2 )}

--
Regards,
Luc.

"Festina Lente"


"Steve" wrote:

A B
1 Bill 1/1/2003
2 Ralph 11/14/2004
3 Mike 11/16/2004
4 Ralph 2/7/2005
5 Ralph 1/14/2006

7 Ralph

I am having more trouble than I thought I would with this one. Tried
to do index and match formula with small function in cell B7 that would
return 2 largest value for Ralph... in this case that value would be
2/7/2005. Column A cannot be alphabetical. Column B is chronological.



Thanks for any help, Steve


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default index and match on 2 largest value

Thanks Domenic. I appreciate the help !



Domenic wrote:
Try...

=LARGE(IF($A$1:$A$5=A7,$B$1:$B$5),2)

...confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article . com,
"Steve" wrote:

A B
1 Bill 1/1/2003
2 Ralph 11/14/2004
3 Mike 11/16/2004
4 Ralph 2/7/2005
5 Ralph 1/14/2006

7 Ralph

I am having more trouble than I thought I would with this one. Tried
to do index and match formula with small function in cell B7 that would
return 2 largest value for Ralph... in this case that value would be
2/7/2005. Column A cannot be alphabetical. Column B is chronological.



Thanks for any help, Steve


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
Index, Match and filters Steve M Excel Discussion (Misc queries) 4 August 22nd 06 09:12 PM
Match Index cjjoo Excel Worksheet Functions 3 October 25th 05 09:33 AM
Match or Index Question carl Excel Worksheet Functions 2 October 4th 05 09:11 PM
Match & Index Phyllis B. Excel Worksheet Functions 2 November 27th 04 03:26 PM
Vlookup, Index & Match Phyllis Excel Worksheet Functions 1 November 8th 04 06:11 PM


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