I have run into this problem a few times, possibly a problem with Vlookup or formulas.
A2 = XX-XXXXX
=IFERROR(VLOOKUP(A2,Sheet2'!$B:$E,4,FALSE),VLOOKUP(SUBSTITUTE(A2,"-",""),Sheet2'!$B:$E,4,FALSE))
Trying to search for a value without a hyphen in the event it doesn't work with the hyphen.
When I try and nest a substitute formula or other such formula it would evaluate with F9 properly
but then the Vlookup would not evaluate the reference to the changed value of A2.... "XXXXXX"
Result N/A
note A2 typed in with out the hyphen does work in this vlookup.
Bookmarks