Q: Compare columns
I need to compare two columns (SKU) on different sheets. When a number matches the price column's corresponding cell should be entered onto the first sheet in a new column labeled price.
I have tried using LOOKUP and that seemed to work, as some of the results were noted as 'couldn't find the requested value', but others had a price entered and when I randomly was checking I found many that were incorrect. I don't understand how a price was entered if there wasn't a match from the other sheet.
Also, I'm wondering if I should be using a different formula.
Thank you for your help.
Posted on Aug 20, 2016 12:00 PM
Hi jkeppel,
I think I threw you off calling my lookup table "Lookup". There are only the two functions INDEX and MATCH.
An easy way to build formulas in Numbers is to point and click. It will take care of the syntax for you.
So when I type INDEX I get this:
range is the column you want your values to come from. Navigate to the proper sheet and table and click the correct column. I think it is "F".
Match is going to find your row, so click on row-index and type MATCH.
With search-for highlighted click on the value you are matching. This is in the same row that the formula is in.
search-where navigate to the table you are retrieving the prices from and click on the SKU column.
matching-method is "find value".
We don't need column-index or area-index so you can ignore them.
Let me know if this does it for you (or not).
quinn
Posted on Aug 20, 2016 9:37 PM


