One more question, i would like to ask Rick regarding his formula below->
=IF(IFERROR(VLOOKUP(E2,A$2:B$10,2,FALSE),"")=0,"",IFERROR(VLOOKUP(E2,A$2:B$10,2,FALSE),""))
Can the IFERROR not be replaced with ISERROR to make it compatible with XL2003?
No, IFERROR is a special construction introduced in XL2007 that makes it so you do not have to repeat your function in order to test it for resulting in an error. If we did not have to convert zeroes into empty strings (that is, if you only asked to blank
out the #N/A errors), here the XL2007 formula to do that...
=IFERROR(VLOOKUP(E2,A$2:B$10,2,FALSE),"")
and here is the XL2003 equivalent of it...
=IF(ISERROR(VLOOKUP(E2,A$2:B$10,2,FALSE),"",VLOOKUP(E2,A$2:B$10,2,FALSE)
Notice that in the XL2003 version, the formula is repeated twice... once to test it and again to return its value; the IFERROR construction in XL2007 is much cleaner looking because you do not have to repeat the formula. Unfortunately, to implement the test
for 0 ends up requiring us to repeat the function anyway.
NOTE: Please mark the message or messages (yes, you can mark more than one) that answer your question as the "Answer" so that others will know your question has been resolved.