samyscraps01
Board Regular
- Joined
- Jul 6, 2017
- Messages
- 58
Hi,
I created a vlookup(B2,"Report'!$A$1:$D$20,16,0) and these are the results I get in Column B. Except that I would like to replace my #NA's with text. So something like, NA=Employee not found and 0=Intentionally Left Blank. However, I don't want it to affect my vlookup results that return approved. Those should remain untouched. I can't seem to figure out a way to do this.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Mike[/TD]
[TD]Approved[/TD]
[/TR]
[TR]
[TD]Joe [/TD]
[TD]#NA[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
I created a vlookup(B2,"Report'!$A$1:$D$20,16,0) and these are the results I get in Column B. Except that I would like to replace my #NA's with text. So something like, NA=Employee not found and 0=Intentionally Left Blank. However, I don't want it to affect my vlookup results that return approved. Those should remain untouched. I can't seem to figure out a way to do this.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Mike[/TD]
[TD]Approved[/TD]
[/TR]
[TR]
[TD]Joe [/TD]
[TD]#NA[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]