I have a formula that looks on a different tab in the workbook, and if in the row the formula looks there is a "Y" then it retrieves the persons information and populates the cells in the tab with the formula. Right now the formula looks like this:
=IF(ROW()-6>COUNTIF(Attendees!$J$6:$J$400,"Y"),"",SMALL(((Attendees!$J$6:$J$400="Y")*(ROW(Attendees!$J$6:$J$400))),(ROW())-6+COUNTIF(Attendees!$J$6:$J$400,"<>"&"Y")))
But the column in which "Y" would be has changed from J ,in the formula above, to column M. However when I change the J to an M, I get an error that says #NUM. I have tried everything I can think of, any idea why I get an error?
=IF(ROW()-6>COUNTIF(Attendees!$J$6:$J$400,"Y"),"",SMALL(((Attendees!$J$6:$J$400="Y")*(ROW(Attendees!$J$6:$J$400))),(ROW())-6+COUNTIF(Attendees!$J$6:$J$400,"<>"&"Y")))
But the column in which "Y" would be has changed from J ,in the formula above, to column M. However when I change the J to an M, I get an error that says #NUM. I have tried everything I can think of, any idea why I get an error?