我需要将B列中的QTY乘以其他列中的值,如果它们不是空白的话,则逐行排列:($ B3 * Row,Col) . 我知道我可以用VBA做到这一点,但我可以't get a method going that will multiply and check blank cells. The last row just sums up numbers in each column. I tried making a function and putting it in a sub, but I had no luck. I'附上一张照片 .
谢谢!
1 回答
SUMPRODUCT()
应该做你想要的 . 第一个求和列的示例然后从那里填写 . 它忽略了空白细胞 .