Hey guys, I have a sheet with 2 columns, columns A and B. On a separate sheet i have 1 column labeled A.
Column A on both sheets is for names while column B on sheet 1 has names of the person who hired the person in column A. What I have done is made a formula for Sheet 2 column A, this formula Places the persons based on the criteria as to who hired them. My issue is that a lot of people were hired by one guy. So what i need is an offset formula, that will offset the first INDEX(MATCH formula to the next person who was hired by the specific person. Current formula: =IF(COUNTIF(Sheet1!B1:B21,"Randerson"),SUBSTITUTE(A1,A1,OFFSET(INDEX(Sheet1!A1:A21,MATCH(A1,Sheet1!A7:A21,0)),1,0,1,1))) What i want to do is add a formula into the "OFFSET: rows" part that will offset the formula to the NEXT person who was HIRED BY the individual named Randerson.
Column A on both sheets is for names while column B on sheet 1 has names of the person who hired the person in column A. What I have done is made a formula for Sheet 2 column A, this formula Places the persons based on the criteria as to who hired them. My issue is that a lot of people were hired by one guy. So what i need is an offset formula, that will offset the first INDEX(MATCH formula to the next person who was hired by the specific person. Current formula: =IF(COUNTIF(Sheet1!B1:B21,"Randerson"),SUBSTITUTE(A1,A1,OFFSET(INDEX(Sheet1!A1:A21,MATCH(A1,Sheet1!A7:A21,0)),1,0,1,1))) What i want to do is add a formula into the "OFFSET: rows" part that will offset the formula to the NEXT person who was HIRED BY the individual named Randerson.