I have data in Column A (A2 down) and data in Column B (B2 down) and I want Column D to display in this order: AAAB, AAAB, repeat.
I currently have Column D going down, showing AAB, AAB, with this formula:
=@INDEX($A$2:$B$3000,IF(MOD(ROWS(D$2:D2),3)<>0,ROWS($D$2:$D2)-INT(ROWS($D$2:$D2)/3)*1,INT(ROWS($D$2:$D2)/3)),1+(MOD(ROWS($D$2:$D2),3)=0))
What do I change in the above, so that it displays 3 A's instead of 2?
I have almost 3000 rows, so I need to be able to simply copy D2 and paste down.
Bookmarks