Forum Discussion
Lorna_FCF
May 18, 2023Copper Contributor
Total when multiple rows have a value in column C multiplied by value in column D
I have multiple rows. I have a value in column C that is multiplied by a value in column D. At the bottom of the rows, I need a total. The values in both C and D will vary, but in the end, I need a t...
- May 18, 2023
=VLOOKUP(C2,$G$3:$H$6,2,TRUE)You can try this formula along with a reference table in range $G$3:$H$6 in this example.
=SUMPRODUCT($C$2:$C$15,$D$2:$D$15)This formula calculates the total in cell D17.
OliverScheurich
May 18, 2023Gold Contributor
=VLOOKUP(C2,$G$3:$H$6,2,TRUE)You can try this formula along with a reference table in range $G$3:$H$6 in this example.
=SUMPRODUCT($C$2:$C$15,$D$2:$D$15)This formula calculates the total in cell D17.
- Lorna_FCFMay 18, 2023Copper ContributorThat worked!! Thanks so much. That was a really fast answer, wow!