=INDEX(Data!$B$13:$B$35,MATCH(MID(CELL("filename",A1),SEARCH("[",CELL("filename",A1))+1,SEARCH("]",CELL("filename",A1))-SEARCH("[",CELL("filename",A1))-5),Data!$A$13:Data!$A$35,0))

Signature
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
>I am using the following formula, which works really well and brings back
>the
[quoted text clipped - 13 lines]
>
> Thanks.
BoRed79 - 17 Jul 2007 08:14 GMT
Thanks.
This worked great.
> =INDEX(Data!$B$13:$B$35,MATCH(MID(CELL("filename",A1),SEARCH("[",CELL("filename",A1))+1,SEARCH("]",CELL("filename",A1))-SEARCH("[",CELL("filename",A1))-5),Data!$A$13:Data!$A$35,0))
>
[quoted text clipped - 15 lines]
> >
> > Thanks.