sumifs doesn't equal not summing correctly

Anonymous
2025-03-26T19:58:49+00:00

Hello,

I am trying to use not equal to (<>) with a sumifs formula and it's not summing the correct number. Below shows the formula using, you can see if I use the <> it is summing the total. I got the formula from a sample on the How to Use the Excel SUMIFS with Not Equal to Text Criteria: 4 Examples. I can't get it to work my sample data, but if I switch up the data from the website it works perfectly not sure what wrong with my data.

Any suggestion on how to fix the formula, to get to sumifs correctly get the total correct. In the data set there are many more PL's, and I am trying to make the formula as simple as possible.

https://www.dropbox.com/scl/fi/fuvc5a02gpm94eat003i6/Sumifs-doesn-t-equal.xlsx?rlkey=7l05kb0qbkxjc095glzonx8da&st=dmd5zn49&dl=0 Sample file

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Rory Archibald 18,875 Reputation points Volunteer Moderator
    2025-03-27T13:59:27+00:00

    The PL cells are stored as text. Convert them to number and the formula will work:

    1 person found this answer helpful.
    0 comments No comments

6 additional answers

Sort by: Most helpful
  1. Ashish Mathur 100.8K Reputation points Volunteer Moderator
    2025-03-26T23:45:08+00:00

    Hi,

    Share data in a format that can be pasted in an MS Excel file.

    0 comments No comments
  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Andreas Killer 144K Reputation points Volunteer Moderator
    2025-03-27T13:20:00+00:00

    The issue depends on your file / wrong data format in the cells. If I paste your data into my file it works:

    I10: =SUM(SUMIFS(I2:I5,B2:B5,A9:A10,C2:C5,"<>"&C9,C2:C5,"<>"&C10))

    We need to see your (sample) file.
    Why a sample file is important for troubleshooting. How to do it. - Microsoft Community

    Andreas.

    0 comments No comments
  4. Anonymous
    2025-03-27T13:51:21+00:00

    Hi Andreas,

    I have updated the original post with the sample of the file. I am still not getting the correct answer, what cells are wrong data format that is preventing getting the correct answer.

    0 comments No comments