Forum Discussion
CatherineMadden
May 25, 2023Brass Contributor
SUMIF Formula
Why is this formula working for the first set of cells but not the other? See attached.
HansVogelaar
May 26, 2023MVP
Because C8 contains "ZM " (with a space at the end) instead of "ZM".
You can remove the space, or change the formula to
=SUMIF(C8,"ZM*",D8)
The latter will work whether there is a space at the end or not.