Hi All,
This is related to my last post for a formula to copy and paste if referenced cell has specific value, and because that was successfully answered I closed it.
Here is my original thread:
I have a long list of data with specific values listed in Column A. I need a formula to be used on a separate tab, that will go down the list of the referenced tab, and referenced column/cell, and return the whole row if a specific text is in that referenced column/cell. If there the referenced cell is blank then it should return a blank, and not show the formula or “0”, “value”, etc. Unfortunately the formula I’m using (below) is returning the data in cell A2 (Row 1 is the column headers).
=IFERROR(INDEX('Produce'!A$2:A$250,SMALL(IF('Produce'!$A$2:$A$250="Apples",ROW('Produce'!$A$2:$A$250)-1),ROWS($A$1:A1))),"")
One solution was =IFERROR(INDEX(Produce!A$1:A$250,SMALL(IF(Produce!$A$1:$A$250="Apples",ROW(Produce!A$1:A$250)),ROW(A1))),"")
Control+Shift+Enter.
However, I do need an extension to that formula. I have two or more word products – “Strawberries – Organic”, “Seedless Grapes (Purple)”, “Seedless Grapes (Green), etc., and the formula returns only the first word, and the remaining columns i.e. B2:F2 are blank.
Any suggestions?
SP
Bookmarks