Good afternoon all,
I'm trying to help a colleague automate a daily process he must perform in Excel. I had suspected it to be a simple job for a VLOOKUP formula, however incorrect values are being returned for items without a match.
In the attached example the 'Final! sheet is where he would have to manually enter amounts from an SAP printout into C:C for jobs matching job numbers in B:B. The sheet 'Source Data! is a striped down example of an SAP data dump where he retrieves his information.
The VLOOKUP formula I added to D:D has a couple of issues I could use a hand with.
1. When a value from 'Final!B:B is not found in 'Source Data!B:B, the formula appears to return the value from the previous item.
2. Some values in 'Final!B:B have either an "-s" or "-ss" appended to what needs to be matched in 'Source Data!B:B. I believe limiting the lookup to the first 8 characters starting from the left would suffice.
Any suggestions?
As always.... thamks for the help!
Bookmarks