Forum Discussion
Multiple criteria in SUMIFS returning 0.00
Please copy-and-paste the formula exactly as it appears in the Formula Bar.
Another problem might be: some data is type text, not numeric. The format of the cell does not matter; and looks can be deceiving. Use formulas of the form =ISNUMBER(F7) to determine if the type is numeric.
The table that you posted is not sufficient for me to help further. First, there are no column and row names. But more importantly, it would help me help you if you attach an example Excel file that demonstrates the problem so that I can see the type of the data, as well as the workbook state (e.g. Automate vs Manual calculation mode).
Click the "browse" link at the bottom of the reply applet. If the forum does not allow that (yet), upload the file to a file-sharing website, and post the download URL. I like box.net/files; others like dropbox.com. You might like onedrive.live.com. But if you use onedrive, IMHO, the download URL should not allow others to edit the file. That will avoid accidental (and purposeful) modifications. I'm all thumbs (sigh). Avoid using drive.google.com. I worry that Google might convert the Excel file to Google Sheets. Not only is that different; but also it might change the context.
If the forum does not allow you to post a URL (yet), spell out part of the URL. For example, the URL for this thread is techcommunity dot microsoft dot com /t5/excel/multiple-criteria-in-sumifs-returning-0-00/td-p/3655757
- Sheila_JesnessOct 18, 2022Copper Contributor
- Sheila_JesnessOct 18, 2022Copper Contributorhttps://1drv.ms/u/s!AjfKHr2b7nY_gVa8xM_Q7ZlVPicF?e=0vdzqM
Try this.- JoeUser2004Oct 18, 2022Bronze Contributor
Thanks. Got the file.
The "numbers" in column I are text, not numeric. For example, =ISNUMBER(I6) returns FALSE.
But the numbers in column E are indeed numeric.
Nevertheless, that does not seem to confuse SUMIFS.
(BTW, only half of the "numbers" in column I appear in column E.)
OTOH, the "dates" in column B are text, not numeric Excel dates.
Consequently, the SUMIFS condition "<"&DATE(2023,7,1) fails because DATE returns the integer 45108.
Bottom line: Use ISNUMBER or ISTEXT to ensure that all values are the type that you intended.