[Solved] How to assign children to parents using Excel? October 2, 2022 by Kirat Try this formula: =IFERROR(INDEX($A$2:$A$27,AGGREGATE(15,6,ROW(2:$26)/((NOT(ISNUMBER(SEARCH(".",MID($B3:$B$27,LEN($B2)+2,999)))))*(SEARCH($B2 & ".",$B3:$B$27)=1)),COLUMN(A:A))),"") The AGGREGATE() Function was introduced in Excel 2010. 5 solved How to assign children to parents using Excel?