I feel this should be easier to find but I'm really struggling. I want to populate a column with names from another tab (depending on the class chosen in A1). When I paste my formula into a cell in Google Sheets, I want the formula to update the row numbers to the current row. Here is the formula pasted into row 2.
=IF(A1=Students!A1,Students!A2, IF(A1=Students!B1,Students!B2,"none"))
So to have this in row 3 I would have to manually update A2 and B2 to A3 and B3, and then the same for every row after that. Is there a way to have A and B match the row they are on?
Thanks in advance!!










