View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default Getting the next higer value with Vlookup - True

If the values are sorted and if you are looking a match within the specified
values try the below...

In cell E1 enter the query number

=INDEX(B:B,IF(ISNA(MATCH(E1,A:A,0)),MATCH(E1,A:A,1 )+1,MATCH(E1,A:A,0)))

--
Jacob


"getu32" wrote:

In VLookup / Hlookup function the True parameter gives the closest
match with the search value but less than the search value....

i want to get the next greatest values of the Search Value.... how to
do it....

Example .....

A B C
5 10 15
6 11 16
9 14 19

If i use =Vlookup(7,[Array],2,0)/
=Vlookup(7,Array],2,True) ....
the answer is get is 11

BUT how to get it as 14!!!???

Please reply me at :
.