Column A will contain many more numbers, much larger. Column B will be 0 for all but 4 values of A, and I need to sum these 4 values of A. So, here X will be 7+8+4=19.
I tried sum((a1*b1):(a5*b5)) to no avail, but hopefully you'll see where I'm coming from!