View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Toppers Toppers is offline
external usenet poster
 
Posts: 4,339
Default tough lookup question

.... and the result from your example would be ..... ??

col1 Col2 Col3

bunch of junk
more junk
NUMBER #1234

firstname lastname 1234


"Bonnie" wrote:

I think this is complicated but here goes:

I have a spreadsheet that looks like this:

col1 Col2 Col3

bunch of junk
more junk
NUMBER #1234

firstname lastname


This repeats over and over. What I would like to do is populate col3, when
col2 is not null, with the value of the closest previous row that has NUMBER
#9999. Does anyone know a formula or code to do this?

Thanks in advance.