Not sure what you mean.
Do you mean the lookup_value is TEXT but the lookup_array is not?
What does your formula look like? Need more details!
> Not sure what you mean.
>
> Do you mean the lookup_value is TEXT but the lookup_array is not?
In Sheet1!c2:c200, I have social security numbers and in
Sheet1d1:d200, I have the corresponding names.
In Sheet 2!e1:e500 I have another set of social security numbers.
I am trying to discover whether the socials in sheet 2 have a match
from sheet1 (i.e., my lookup formula is written in sheet2, and is
comparing to the socials in sheet1.
So, my formula in Sheet2 is =INDEX('sheet1!D:D,MATCH('Sheet2!
E2,'Sheet1!C:C,FALSE))
When I physically paste the social from Sheet 1 into sheet 2 (i.e., in
cell e2), the formula works. But the problem is that it won't work
otherwise (b/c for some reason the format of the cells in sheet 2,
column E cannot be changed to text, I believe).
Thanks for any suggestions. Hope this doesn't confuse you further.
> What does your formula look like? Need more details!
>
[quoted text clipped - 19 lines]
>
> - Show quoted text -
T. Valko - 13 May 2008 03:20 GMT
Take a look at Pete's suggestion.
Also see this for common problems with lookups:
http://contextures.com/xlFunctions02.html#Trouble

Signature
Biff
Microsoft Excel MVP
On May 12, 12:09 pm, "T. Valko" <biffinp...@comcast.net> wrote:
> Not sure what you mean.
>
> Do you mean the lookup_value is TEXT but the lookup_array is not?
In Sheet1!c2:c200, I have social security numbers and in
Sheet1d1:d200, I have the corresponding names.
In Sheet 2!e1:e500 I have another set of social security numbers.
I am trying to discover whether the socials in sheet 2 have a match
from sheet1 (i.e., my lookup formula is written in sheet2, and is
comparing to the socials in sheet1.
So, my formula in Sheet2 is =INDEX('sheet1!D:D,MATCH('Sheet2!
E2,'Sheet1!C:C,FALSE))
When I physically paste the social from Sheet 1 into sheet 2 (i.e., in
cell e2), the formula works. But the problem is that it won't work
otherwise (b/c for some reason the format of the cells in sheet 2,
column E cannot be changed to text, I believe).
Thanks for any suggestions. Hope this doesn't confuse you further.
> What does your formula look like? Need more details!
>
[quoted text clipped - 23 lines]
>
> - Show quoted text -
Mike C - 13 May 2008 05:28 GMT
> Take a look at Pete's suggestion.
>
[quoted text clipped - 60 lines]
>
> - Show quoted text -
Thanks Biff. Pete's suggestion did the trick
Pete_UK - 13 May 2008 09:05 GMT
Thanks for the feedback, and for the email to confirm the approach
worked.
Pete
> Thanks Biff. Pete's suggestion did the trick