the easier way is to divide and conquer...
Make a separate column with only the multiplication terms. then you can freely apply a simple SUM function to summarize the column. You can hide the extra calculation column, if you don't want it to be visible.
the more complicated way, write a visual basic macro, that uses the for next cycle and do that calculation in if you put the formula into a function you can even call the function from a cell.
I hope that helps :)
- - - Edit added text from here - - -
3rd option:
1st cell: a*b
2nd cell below: c*d+the cell above
drag and copy 2nd cell until the last relevant line. the final result will be in the last cell