View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Daniel.C Daniel.C is offline
external usenet poster
 
Posts: 43
Default VLOOKUP FUNCTION

An ugly one :
=IF(ISNA(VLOOKUP(C1,A1:B10,2,0)),INDEX(A1:B10,MATC H(C1,A1:A10,1)+1,2),VLOOKUP(C1,A1:B10,2,0))
Regards.
Daniel
"ashoulds" a écrit dans le message de
news: ...
Is there a way to return the next largest value using a vlookup function
when
an exact match is not found? As of now, it keeps returning the value that
matches or the next smallest value.