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 match largest value that is exactly equal to lookup_value

Haw to finds the not first value that is exactly equal to lookup_value.
lookup_value E2=2
lookup_array B2:B9

formula in F2=INDEX(B2:B9,MATCH(E2,C2:C9,0)) :

how i can return largest value located in cel B9 (01/9/08)?

B C E F
2 1/2/2008 1 2 1/4/08
3 1/3/2008 1
4 1/4/2008 2
5 1/5/2008 2
6 1/6/2008 2
7 1/7/2008 2
8 1/8/2008 2
9 1/9/2008 2


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 229
Default match largest value that is exactly equal to lookup_value

Instead of E2 in Match, put Max(c2:c9)
with regards
sreedhar

"birchin" wrote:

Haw to finds the not first value that is exactly equal to lookup_value.
lookup_value E2=2
lookup_array B2:B9

formula in F2=INDEX(B2:B9,MATCH(E2,C2:C9,0)) :

how i can return largest value located in cel B9 (01/9/08)?

B C E F
2 1/2/2008 1 2 1/4/08
3 1/3/2008 1
4 1/4/2008 2
5 1/5/2008 2
6 1/6/2008 2
7 1/7/2008 2
8 1/8/2008 2
9 1/9/2008 2



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default match largest value that is exactly equal to lookup_value

Based on you sample dates being in ascending order:

=LOOKUP(2,1/(C2:C9=E2),B2:B9)

Format as DATE

If your dates are in random order try this array formula** :

=MAX(IF(C2:C9=E2,B2:B9))

Format as DATE

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"birchin" wrote in message
news:rP8tj.6514$rh.5302@trnddc02...
Haw to finds the not first value that is exactly equal to lookup_value.
lookup_value E2=2
lookup_array B2:B9

formula in F2=INDEX(B2:B9,MATCH(E2,C2:C9,0)) :
how i can return largest value located in cel B9 (01/9/08)?

B C E F 2 1/2/2008 1 2 1/4/08 3 1/3/2008 1 4 1/4/2008 2
5 1/5/2008 2 6 1/6/2008 2 7 1/7/2008 2 8 1/8/2008 2
9 1/9/2008 2



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
How to check for a date range match in one column and then count thevalues equal to in another Jon[_6_] Excel Worksheet Functions 5 January 18th 08 11:54 AM
Can Index/Match pull lookup_value from a combo box? Ruben Torrez Excel Discussion (Misc queries) 2 January 11th 07 05:01 PM
index and match on 2 largest value Steve Excel Worksheet Functions 3 October 18th 06 11:52 PM
match two columns (with equal dates) and their attached datasets Claudia Excel Discussion (Misc queries) 1 September 1st 06 04:16 AM
Next largest value that is greater than lookup_value. bp Excel Worksheet Functions 4 December 2nd 04 03:23 AM


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