Thank You very much for ur interest MAX.
The formula gave me a blank result. Would u be interested if i can send
u the data sheet. If yes how shall i Do it
Adi
Max;634415 Wrote:
> The formula gave me a blank result.
If there should be an "obvious" match from you looking at it over there, but
the earlier formula doesn't seem to return the expected results, it's
usually a case of data consistency between the lookup values and those in
the reference col (the looked-up col)
You could try one of these 3 variations of the earlier in B2
to improve robustness in matching:
a. Lookup values in A2 down are text strings
Remove any extra white spaces which may be present in the lookup values:
=IF(ISNA(MATCH(TRIM($A2),Sheet1!$A:$A,0)),"",
INDEX(Sheet1!B:B,MATCH(TRIM($A2),Sheet1!$A:$A,0)))
b. Lookup values in A2 down are input numbers (ie real numbers) while those
in the reference col are text numbers
Convert the lookup values to be text numbers instead, using either:
=IF(ISNA(MATCH($A2&"",Sheet1!$A:$A,0)),"",
INDEX(Sheet1!B:B,MATCH($A2&"",Sheet1!$A:$A,0)))
or something like this, if there are leading zeros:
=IF(ISNA(MATCH(TEXT($A2,"000000"),Sheet1!$A:$A,0)),"",
INDEX(Sheet1!B:B,MATCH(TEXT($A2,"000000"),Sheet1!$A:$A,0)))
Try the above 1st, see how it goes ..
And if you really need to, you could always
upload a small sample* file & post a direct link to it here
*desensitize it appropriately
You could use:
http://www.freefilehosting.net/
**Keeping discussions visible here is to the benefit of all**

Signature
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
>
> Thank You very much for ur interest MAX.
[quoted text clipped - 3 lines]
>
> Adi
Max - 07 Mar 2008 03:58 GMT
Additional clarifications for this part:
> a. Lookup values in A2 down are text strings
> Remove any extra white spaces which may be present in the lookup values:
> =IF(ISNA(MATCH(TRIM($A2),Sheet1!$A:$A,0)),"",
> INDEX(Sheet1!B:B,MATCH(TRIM($A2),Sheet1!$A:$A,0)))
If the problem with extra white spaces is happening with the text in the
reference col as well, ie: Sheet1!$A:$A, the simplest way is, in Sheet1, to
use a helper col to TRIM and overwrite col A. Eg you could place in say, E2,
copied down: =TRIM(A2). Then copy col E and overwrite col A with a paste
special as values. Then delete col E.

Signature
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---