Shams,
This should do it for you. Assuming that A2 is the value in Table 1
you are looking for in Table 2 which is D2:E15.
=IF(ISNA(VLOOKUP(A2,$D$2:$E$15,1,FALSE)0),"",IF(V LOOKUP(A2,$D$2:$E$15,1,FALSE)0,"Not
allocated - To be done"))
The first IFprevents you from seeing the N/A error if the number is not
in Table 2.
HTH
Steve
--
SteveG
------------------------------------------------------------------------
SteveG's Profile:
http://www.excelforum.com/member.php...fo&userid=7571
View this thread:
http://www.excelforum.com/showthread...hreadid=504619