Forum Discussion
QWeelon
Apr 24, 2021Brass Contributor
Sumproduct with a wildcard condition
Dear community, I'm struggling with a formula where I want to use a wildcard condition to sum and multiply values if the corresponding month is mentioned. In other words, for January, I want to w...
- Apr 24, 2021
Without a helper column:
=SUMPRODUCT(--ISNUMBER(FIND("Jan",N18:N22)),K18:K22,L18:L22)
Corrected typo
HansVogelaar
Apr 24, 2021MVP
Without a helper column:
=SUMPRODUCT(--ISNUMBER(FIND("Jan",N18:N22)),K18:K22,L18:L22)
Corrected typo
QWeelon
Apr 24, 2021Brass Contributor
HansVogelaar,
Did some error searching and it worked like a charm when I removed the comma before "Jan". Thank you!
SergeiBaklan,
Neat, that's one clean formula. I'm amazed by how simple some things are with the right knowledge and formulas. Very nice indeed!
=SUMPRODUCT(--ISNUMBER(FIND("Jan",N18:N22)),K18:K22,L18:L22)
Did some error searching and it worked like a charm when I removed the comma before "Jan". Thank you!
SergeiBaklan,
Neat, that's one clean formula. I'm amazed by how simple some things are with the right knowledge and formulas. Very nice indeed!
=SUMPRODUCT(--ISNUMBER(FIND("Jan",N18:N22)),K18:K22,L18:L22)
- HansVogelaarApr 24, 2021MVP
I have corrected my previous reply. Thanks for pointing out the mistake!