I have attached a workbook and tutorial folder to illustrate the process
Hi,
Thanks for your hard work. Although in my case it seems I just couldn't get around the barrier. I've tried your code but ended up with the same error (Run time error 1004). My formula is, {=IFERROR(IF(COUNTIFS($D$6:D6,D6,$C$6:C6,C6)>1,INDEX($I$6:I6,SMALL(IF($D$6:D6=D6,IF($C$6:C6=C6,ROW($C$6:C6)-ROW(INDEX($C$6:C6,1,1))+1)),COUNTIFS($D$6:D6,D6,$C$6:C6,C6)-1)),0),0)}
and after parting it becomes,
FormulaPart1 = "=IFERROR(IF(COUNTIFS(R6C4:R[5]C[-4],R[5]C[-4],R6C3:R[5]C[-5],R[5]C[-5])>1,INDEX(R6C9:R[5]C[1],SMALL(IF(R6C4:R[5]C[-4]=R[5]C[-4],IF(R6C3:R[5]C[-5X)))),Y))"
FormulaPart2 = "]=R[5]C[-5],ROW(R6C3:R[5]C[-5])-ROW(INDEX(R6C3:R[5]C[-5],1,1))+1)),COUNTIFS(R6C4:R[5]C[-4],R[5]C[-4],R6C3:R[5]C[-5],R[5]C[-5])-1)),0),0)"
I'm not sure what's wrong here . I'd really appreciate if any one can help me out on this.
Thanks in advance.