Forum Discussion

RobynsNest's avatar
RobynsNest
Copper Contributor
Nov 09, 2022

Help with formula

Hi. I am pretty much an excel novice and am struggling to get it to do a calculation that I need. 

I need to do a sum of the value in B2 multiplied by B19, all the way along so that I have a total of all the 2 cells multiplied by the 19 cells. I'm not sure if that is making sense.

What I have typed in the formula bar is this: 

=B2*B19:Y2*Y19

However once I press enter it says #VALUE! and it has changed the formula I have written to this:

=B2*B2:Y19*Y19

Can anyone tell me what I am doing wrong/if what I want to do is possible? I am hoping for a solution that can be transferred between different excel sheets, if that makes sense, as I will not always have the same number of columns. Thanks

 

 

6 Replies

Resources