> I'm using the following formula in cell C3:
> =INDEX(LastName,MATCH(A3,EmpID,0))
>
> When I type in an employee ID in A3, his/her last name shows in C3.
> However, when there is no value in A3, C3 shows error "#N/A".
> Is there a way to show a blank cell in C3 until a value is entered into A3?
Try:
=IF(A3="", "", INDEX(LastName,MATCH(A3,EmpID,0))
Michael Slater - 05 Aug 2007 20:08 GMT
Thank you,
That worked great!!
Mike
>> I'm using the following formula in cell C3:
>> =INDEX(LastName,MATCH(A3,EmpID,0))
[quoted text clipped - 7 lines]
>
> =IF(A3="", "", INDEX(LastName,MATCH(A3,EmpID,0))