How do you prevent #N/A! error from your VLOOKUP? Three ways are discussed in this episode.
In the old days, you would use =IF(ISNA(Formula),0,Formula)
Starting in Excel 2010, =IFERROR(Formula,0)
But IFERROR treats DIV/0 errors the same was a #N/A! errors
Starting in Excel 2013, use the =IFNA(Formula,0) to detect only #N/A errors
Thanks to Justin Fishman, Stephen Gilmer, and Excel by Joe.