Forum Discussion
SUMIFS date range general mistake
The formula should have commas instead of semicolons, and the ranges and criteria should be properly paired.
=SUMIFS($H$2:$H$300, $E$2:$E$300, ">"&M2, $E$2:$E$300, "<"&M3)
Hope this will help you.
NikolinoDE thanks, but coma thing is regional isuue, we use ";" instead.
- NikolinoDENov 22, 2023Gold Contributor
If you are still encountering issues, there might be a problem with the date format or some other regional setting affecting the formula.
Ensure that the date format in cells M2 and M3 matches the date format in the range $E$2:$E$300.
If there are discrepancies, Excel may have trouble interpreting the date criteria.
Also, make sure that the cell references and data in the specified ranges are accurate and free from any extra spaces or characters that might cause issues.
- SergeiBaklanNov 22, 2023MVP
If data is wrong formula will return wrong result or #VALUE error, other words it'll be evaluated.
In this case alert "You have mistake in your formula" appears before evaluating, Excel can't recognize formula itself.
- maks_braverNov 23, 2023Copper Contributor
Thanks mate. As I added to the topic - it was kind of general BUG. I rebooted, rewrote formula absolutely identically and it worked.
- SergeiBaklanNov 23, 2023MVP
My only guess if you had some non-printable character or wrong apostrophe sign within initial formula. Non-printable could appear if the formula copy/pasted from somewhere and partial editing didn't remove such character.