Hello.
Our company recently encountered a huge problem; every week we get an excel sheet from our supplier with their updated stock list, we then need to check and see what is available from what our customers ordered. The list is extremely long so naturally we use a vlookup function, however, we just noticed that a large amount of the products which are definitely available on the stock list do not work with the vlookup function as the item name doesn't match the lookup value due to a "-" in between characters or a "." and sometimes even leading spaces. I'm sure now you are thinking "Why not just "trim" or "substitute" all the spaces and dashes"? Answer is that i have to submit my order the same way it's on the stock list since the supplier imports it into there database, so if i change the way an item appears in the cell then it will never make it to their system.
I had an idea that might resolve the issue but i'm not sure if it's at all possible:
Is there a way to incorporate the trim function and substitute functions into the vlookup function? Meaning the formula will do all the work in cleaning out the stock list without making any changes to it and it will tell me what's available right away.
I tried having the vlookup function lookup approximate values but the result was way off.
I'm looking forward to hearing all responses
Bookmarks