Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9831

Sum of products in a single row

$
0
0

Here is the general structure of my spreadsheet:

Start End   Total X1 Y1 X2 Y2 X3 Y3 ... Xn Yn09:00 10:00 1560  20 15 10 30 12 80Total = X1 * Y1 + X2 * Y2 + X3 * Y3 ... Xn + Yn

The SUMPRODUCT function does this but it requires multiple rows of data. I need the products to match up with their corresponding Start and End time records and this proved to be extremely difficult when they are spread over many rows.

Is there a way I can use SUMPRODUCT with an unlimited number of columns instead of rows?


Viewing all articles
Browse latest Browse all 9831

Latest Images

Trending Articles



Latest Images