Yes, you can do this without using code. However, you'll have to do it in two steps: Multiply col1 by col2 and store in col3 and then sum all of the col3s.
Say you have 3 columns in a repeating table. Col1 and Col2 will be the input columns and Col3 = Col1 * Col2. The function in Col3 can be obtained by doing "Insert field or group..." for Col1 and Col2 and then putting a "*" between them.
Now, all of your Col3s are the multiplications of Col1 and Col2.
Make a textbox (or expression box) outside of the repeating table. Change it to be the correct data type (integer, decimal, etc.) Now, go the function box of this new textbox and hit "Insert Function..." find "sum" and hit "OK". Double-click where it says "Double click to insert field" and choose Col3 in your DOM.
Viola!
If you don't want to display your Col3 you can just delete the column from the table that displays - it won't affect the formulas.
---------------
Matt Faus
Matt Faus / Microsoft InfoPath MVPQdabra® Software / Streamline data gathering to turn process into knowledge