Nov 22 2018 01:29 PM
Hi,
do yo know what is the best formula to replace for this basic formula on last row of table?
I do not want to add a column, there should be something for it.
A B C D
1 50 24 0 12
2 100 0 15 13
3 Total =(A1*B1)+(A2*B2) =(A1*C1)+(A2*C2) =(A1*D1)+(A2*D2)
Nov 22 2018 03:51 PM - edited Nov 22 2018 04:00 PM
Do you want to try SUMPRODUCT Function?
Nov 22 2018 03:57 PM
Are you asking for a formula to be able to autofill (drag across) that will calculate the fields automatically for each column?
If so, try =($A$1*B1)+($A$2*B2) and the drag this across to the right. A variant is =SUM($A$1*B1, $A$2*B2).
If I have understood wrong, please let me know?
Cheers
Damien