how do I multiply each row values backward in one column until a criteria is met
Hello, I have the following challenge that I have trouble scripting with. My starting data table looks like below. I would like to multiply Xi backwards starting from col2 =0 as the criteria and put the new values in a new column.col1 col2X1 0X2 y2X3 y3…Xn ynXX1 0XX2 yy2….XXn yyn….….My end data table would look like this:col1 col2 col3X1 0 Xn*Xn-1*……X3*X2*X1X2 y2 Xn*Xn-1*…..X3*X2X3 y3 Xn*X...