Any suggestion on fixing the formula or another formula that might work better? In the attached file, I have a VLOOKUP in Column G of the "Incidents" tab which should return data from Column D of the Nodes tab using the Store Number (or Node Number on the other tab) as the lookup data. I am getting #N/A as the result.
The numbers in Column F are not recognized by Excel as numbers, because Excel expects a text result from the Mid function, that is why they are left aligned as text.So you need to let Excel deal with the result of the Mid function as numbers (there are different ways to do that) by multiplying your lookup value by 1.
I also added the last argument 0 for an exact match