Hello all,
I am working on a spreadsheet with two different reports (on different sheets) from different sources. As such, I want to combine all of this data for these two sheets onto one sheet. The data is for products but on one sheet there are 5000 products and on another there are 8703. Thus, it wouldn't work to sort by alphabetical order.
The formula I have been using that has worked for some of the cells is:
Formula:
=INDEX(Sheet2!D:D,MATCH("*"&LEFT(A2,10)&"*", Sheet2!A:A, 0))
On Sheet 1, I have "Product A" in cell A2 and what I essentially want it to do is to look through the A column of Sheet 2 to find "Product A" and it's corresponding "Number of Units Sold" value (Column D, Sheet 2).
The issue with this formula is the "Number of Characters" value in the LEFT function. When I set it to 10, it pulls up many of the values and omits some (whose names are less than 10 characters).
Is there something I can replace the 10 with that will just automatically select ALL characters? The reason I have to do this is that a lot of products don't exactly match in product name. For example, there could be a hyphen or a capitalization of a letter that would throw off the exact match function.
If this is difficult to understand, please let me know. I really appreciate your help!
Bookmarks