patel18nik
New Member
- Joined
- Nov 23, 2020
- Messages
- 1
- Office Version
- 365
- Platform
- Windows
Hello,
I am trying to creating possible combination for five columns and I am using below formula which is for 3 columns only, I am trying add 2 more columns but its not letting me or formula is not right?
=IFERROR(INDEX($A$1:$A$3,INT((ROW(1:1)-1)/((COUNTA($B$1:$B$2)*(COUNTA($C$1:$C$3)))))+1)&" "&INDEX($B$1:$B$2,MOD(INT((ROW(1:1)-1)/COUNTA($C$1:$C$3)),COUNTA($B$1:$B$2))+1)&"-"&INDEX($C$1:$C$3,MOD((ROW(1:1)-1),COUNTA($C$1:$C$3))+1),"")
In this formula: A2:A4, B2:B6, C2:C5 are the data ranges that has been used but I wanna use column D and E too.
Thank You,
Nikhil Patel
I am trying to creating possible combination for five columns and I am using below formula which is for 3 columns only, I am trying add 2 more columns but its not letting me or formula is not right?
=IFERROR(INDEX($A$1:$A$3,INT((ROW(1:1)-1)/((COUNTA($B$1:$B$2)*(COUNTA($C$1:$C$3)))))+1)&" "&INDEX($B$1:$B$2,MOD(INT((ROW(1:1)-1)/COUNTA($C$1:$C$3)),COUNTA($B$1:$B$2))+1)&"-"&INDEX($C$1:$C$3,MOD((ROW(1:1)-1),COUNTA($C$1:$C$3))+1),"")
In this formula: A2:A4, B2:B6, C2:C5 are the data ranges that has been used but I wanna use column D and E too.
Thank You,
Nikhil Patel