View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Using MATCH / LOOKUP to find the next highest value.

"Niek Otten" wrote:
You're missing an ELSE branch


Thanks, yes

It should have read as:

In D1, copied down:
=IF(ISNA(MATCH(C1,A:A,0)),MATCH(C1,A:A)+1,MATCH(C1 ,A:A,0))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---