serge
Well-known Member
- Joined
- Oct 8, 2008
- Messages
- 1,444
- Office Version
- 2007
- Platform
- Windows
Hi,
Here below is the display of my table that generate my combinations sets.
The return of other files are generated into this final table B13:F18 where all cells are not filled so it return #N/A.
So for my set combination to work in consecutive way and not skip, I have to physically type those numbers in the yellow table above in B5:F10.
In cell H7 down I have this formula :
=IF(ROWS($H$5:$H5)>COUNTA($B$5:$B$10)*COUNTA($C$5:$C$10)*COUNTA($D$5:$D$10)*COUNTA($E$5:$E$10)*COUNTA($F$5:$F$10),"",CONCATENATE(TEXT(INDEX($B$5:$B$10,MOD(INT((ROWS($H$5:$H5)-1)/(COUNTA($C$5:$C$10)*COUNTA($D$5:$D$10)*COUNTA($E$5:$E$10)*COUNTA($F$5:$F$10))),COUNTA($B$5:$B$10))+1),"00"),TEXT(INDEX($C$5:$C$10,MOD(INT((ROWS($H$5:$H5)-1)/(COUNTA($D$5:$D$10)*COUNTA($E$5:$E$10)*COUNTA($F$5:$F$10))),COUNTA($C$5:$C$10))+1),"00"),TEXT(INDEX($D$5:$D$10,MOD(INT((ROWS($H$5:$H5)-1)/(COUNTA($E$5:$E$10)*COUNTA($F$5:$F$10))),COUNTA($D$5:$D$10))+1),"00"),TEXT(INDEX($E$5:$E$10,MOD(INT((ROWS($H$5:$H5)-1)/(COUNTA($F$5:$F$10))),COUNTA($E$5:$E$10))+1),"00"),TEXT(INDEX($F$5:$F$10,MOD(ROWS($H$5:$H5)-1,COUNTA($F$5:$F$10))+1),"00")))
Then in :
J5 =MID(H5,1,1)+0
K5 =MID(H5,2,1)+0
L5 =MID(H5,3,1)+0
Etc...
Then in :
W5 : =CONCATENATE(J5,K5)*1
X5 : =CONCATENATE(L5,M5)*1
Etc...
So this way it works fine for me but I would like for the return of those files to be calculated directly without me retyping those numbers in the yellow table.
Because if I use = cell from the green table to the yellow this is what I get :
So what kind of formula could be use in H column that it would ignore the #N/A cells ?
Thank you.
Here below is the display of my table that generate my combinations sets.
The return of other files are generated into this final table B13:F18 where all cells are not filled so it return #N/A.
So for my set combination to work in consecutive way and not skip, I have to physically type those numbers in the yellow table above in B5:F10.
In cell H7 down I have this formula :
=IF(ROWS($H$5:$H5)>COUNTA($B$5:$B$10)*COUNTA($C$5:$C$10)*COUNTA($D$5:$D$10)*COUNTA($E$5:$E$10)*COUNTA($F$5:$F$10),"",CONCATENATE(TEXT(INDEX($B$5:$B$10,MOD(INT((ROWS($H$5:$H5)-1)/(COUNTA($C$5:$C$10)*COUNTA($D$5:$D$10)*COUNTA($E$5:$E$10)*COUNTA($F$5:$F$10))),COUNTA($B$5:$B$10))+1),"00"),TEXT(INDEX($C$5:$C$10,MOD(INT((ROWS($H$5:$H5)-1)/(COUNTA($D$5:$D$10)*COUNTA($E$5:$E$10)*COUNTA($F$5:$F$10))),COUNTA($C$5:$C$10))+1),"00"),TEXT(INDEX($D$5:$D$10,MOD(INT((ROWS($H$5:$H5)-1)/(COUNTA($E$5:$E$10)*COUNTA($F$5:$F$10))),COUNTA($D$5:$D$10))+1),"00"),TEXT(INDEX($E$5:$E$10,MOD(INT((ROWS($H$5:$H5)-1)/(COUNTA($F$5:$F$10))),COUNTA($E$5:$E$10))+1),"00"),TEXT(INDEX($F$5:$F$10,MOD(ROWS($H$5:$H5)-1,COUNTA($F$5:$F$10))+1),"00")))
Then in :
J5 =MID(H5,1,1)+0
K5 =MID(H5,2,1)+0
L5 =MID(H5,3,1)+0
Etc...
Then in :
W5 : =CONCATENATE(J5,K5)*1
X5 : =CONCATENATE(L5,M5)*1
Etc...
So this way it works fine for me but I would like for the return of those files to be calculated directly without me retyping those numbers in the yellow table.
Because if I use = cell from the green table to the yellow this is what I get :
So what kind of formula could be use in H column that it would ignore the #N/A cells ?
Thank you.