Hi Everybody ,

Someone can help me ? I would like to multiply the variables two by two , then adding all
calculated
outcomes with function rowtotal to give the variable D_p.

For example :
X_1 X_2 X_3 Y_1 Y_2 Y_3 C_1=X_1*Y_1 C_2=X_2*Y_2 C_3=X_3*Y_3 D_p=C_1+C_2+C_3
1 0 0 2 0 0 2 0 0 2
1 2 0 2 3 0 2 6 0 8
1 2 3 2 3 4 2 6 12 20
1 2 3 2 3 4 2 6 12 20
1 2 3 2 3 4 2 6 12 20
0 2 3 0 3 4 0 6 12 18
0 0 3 0 0 4 0 0 12 12
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
How could I proceed with loop ?

Thanks in advance .