Multiply Smarter: Replace SUMIF With a Product Formula That Works

If you're looking to multiply values in one column based on criteria from another, you can achieve this with a powerful formula that combines the `PRODUCT` and `FILTER` functions.

3 min readMicrosoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

There's a quiet assumption baked into most spreadsheet training: if you need to multiply values, you use a multiplication formula, and if you need to sum values, you use a sum formula. But the moment a user asks for something like "SUMIF, but for multiplication," the standard toolset suddenly feels incomplete. That's exactly the gap the original poster ran into, and it's worth pausing to say plainly: this is a legitimate workflow need, not a niche edge case. The request to multiply all values in one column based on criteria in another is a real, recurring analytical task, and treating it as a simple formula lookup misses the point.

The practical answer, as many commenters will point out, involves combining SUMPRODUCT with a bit of arithmetic logic, or using array formulas that force multiplication through conditional logic. But the deeper takeaway isn't about the specific keystrokes. It's that spreadsheet users deserve tools that match the way they actually think about their data. When someone says "I want to multiply values that match a condition," they're not asking for a trick. They're asking for the software to reflect a mental model: filter first, then operate. That's why the solution feels elusive, not because the math is hard, but because the interface doesn't make the connection obvious.

What this means for you is simple: if you've ever felt stuck between a formula that nearly works and one that's completely wrong, you're not alone, and you're not the problem. The workaround exists, but it requires translating your intention into a structure the software understands. That translation cost is real, and it's why so many people abandon a task rather than push through. The moment you realize that SUMPRODUCT can be coerced into acting like a conditional multiplier, or that array formulas can handle the heavy lifting, you're not just solving one problem. You're unlocking a pattern of thinking that applies across dozens of future tasks.

So here's the concrete point: next time you're reaching for a formula and it doesn't exist, don't assume you're asking the wrong question. Ask what the underlying operation actually is, and then find the formula that performs that operation on a filtered set. In this case, that means recognizing that multiplication is just repeated addition in disguise, and SUMPRODUCT is the tool that lets you add with conditions. Once you see that, the solution isn't a hack. It's a habit.

From Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

I'm looking for a formula that will mulitiply all values in one column based on the criteria of another. So on a data sheet; Column A contains text, Column B contrains a value.

Essentially I'm thinking like the SUMIF Formula, but instead of adding all the values, it multiplys all the values.

Read the original at Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community