I see. Try this then
=INDEX(Sheet1!B1:B4,MATCH(1,--(LEFT(Sheet1!A1:A4,3)=A1),0))
which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

Signature
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
> hi!
>
[quoted text clipped - 12 lines]
> >>
> >> -via135
via135 - 30 Oct 2006 18:32 GMT
hi!
still i am getting the same error #NA
-via135
>I see. Try this then
>
[quoted text clipped - 8 lines]
>> >>
>> >> -via135
via135 - 30 Oct 2006 18:43 GMT
>hi!
>
[quoted text clipped - 7 lines]
>>> >>
>>> >> -via135
yes..
it works when the look-up value is text
and gives #NA error when the same is a number string!
-via135
Bob Phillips - 30 Oct 2006 19:53 GMT
Another alternative
=INDEX(Sheet1!B1:B4,MATCH(1,--(LEFT(Sheet1!A1:A4,3)=TEXT(A1,"General")),0))

Signature
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
> >hi!
> >
[quoted text clipped - 14 lines]
>
> -via135
via135 - 31 Oct 2006 18:57 GMT
hi!
this one works good when the return value (sheet1!b1:b4)
is as long as text. when there is a number in the index
array, again i am getting the
same error #NA..???!!!
-via135
>Another alternative
>
[quoted text clipped - 5 lines]
>>
>> -via135
via135 - 31 Oct 2006 19:04 GMT
sorry..Bob..!
it works correctly. mistake is on my part
giving the index array wrong..!!
thks for the help!
via135
>hi!
>
[quoted text clipped - 10 lines]
>>>
>>> -via135