Sumif frustrations

juliaharry

New Member
Joined
Apr 12, 2011
Messages
25
Hi,

I really like the sumif and sumifs but sometimes it just does not work as the cells i am trying to pick up are not found due to the criteria cell not matching although visually they both look the same.
What steps can i take logically to solve this problem. Any shortcuts keys would be helpful to do this.
Thanks
Julia
 
Hi,

I really like the sumif and sumifs but sometimes it just does not work as the cells i am trying to pick up are not found due to the criteria cell not matching although visually they both look the same.
What steps can i take logically to solve this problem. Any shortcuts keys would be helpful to do this.
Thanks
Julia
See this:

http://contextures.com/xlFunctions02.html#Trouble

It describes common data problems. Even though it's about a different function the problems are universal in scope.
 
Upvote 0
Hi,

I really like the sumif and sumifs but sometimes it just does not work as the cells i am trying to pick up are not found due to the criteria cell not matching although visually they both look the same.
What steps can i take logically to solve this problem. Any shortcuts keys would be helpful to do this.
Thanks
Julia

Non-printable chars (like trailing spaces) around the target entries are often the culprit.

A diagnostic test can be:

=SUMIF(A2:A10,E2,B2:B10)

vs

=SUMIF(A2:A10,"*"&E2&"*",B2:B10)
 
Upvote 0
Instead of "masking" the problem by using convoluted formulas it's better to fix the problem at the source.
 
Upvote 0
Thanks for this, I have gone through and had a close look, I think one of my problems is importing files as text instead of CSV.
Hopefully no more frustrations!
 
Upvote 0
Thanks for this, I have gone through and had a close look, I think one of my problems is importing files as text instead of CSV.
Hopefully no more frustrations!

Thanks for the feedback. One thing though: A formula for a diagnostic test is a formula for diagnostic text, that is, for problem diagnosis. Such formulas can even be the way out when nothing can be done about the input.
 
Upvote 0

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top