Hey there, I am trying to make a table that searches through an entire column and only populates consecutive cells of ANOTHER column if the true statement is met (IE, it does not return a FALSE or a blank - it simply continues to search the column until that statement is true, and then returns something in the next cell.
Here is my example: I want the two columns J and K to search the entire columns under C and D to return a value ONLY if the condition is met (that condition being C has "Bench Press (BB)" and E has "5x5). I've gotten that far with
J: =IF(AND(E4="5x5",C4="Bench Press (BB)"),D4,"")
K: =IF(AND(E4="5x5",C4="Bench Press (BB)"),B4,"")
These conditions are met in row 4 AND row 11, which is why there were values returned in columns J and K. In row 5, however, the conditions are both not met so it returns a blank value due to my code. How can I, instead of returning this blank value, have the code continue to search columns C and E for the conditions to be met, therefore returning J11 and K11, instead in J5 and K5.
Bookmarks