My VLOOKUP formula was working perfectly - it searched for a value (product code) in worksheet (B) and returned the appropriate price. However, when I copied & pasted the revised product codes and prices into worksheet (B), I now get an #N/A error.
The columns in worksheet (B) haven't changed - just some of the prices and product codes. The product codes are in column A, sorted in ascending order. I have tried changing the format of these cells to Text or to General (they are alphanumeric, e.g. N0220, G2230), but I still get the error. However, when I manually overtype the (same) product code, the formula works... so it's something to do with how Excel sees the format of the product codes/cells.
Any ideas?
Thank you.
Bookmarks