sumif not working properly with text

jordanburch

Active Member
Joined
Jun 10, 2016
Messages
440
Office Version
  1. 2016
Hi All,

I have the below. The sum if is summing based on column f acquierer ref number. It then sums column c if there is a match and gives me the total. The sum if is giving false positives. See below formuls in n and m one sums db column the other cr column based on column f. For whatever reason it is showing it as 43.5 in columns m and N when there should only be a 43.5 in either column m or n but not both. There is only one instance of the acquirer ref number in column f so based on that it should only put one value but its pulling 43.5 for all of those columns m1 through n4. I think it may be becuase its a text in the acquiere ref number but am not sure.
=+SUMIF(F:F,F6260,D:D)
1710956098467.png


1710956069609.png
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
1710961743035.png
This is the result of those sum ifss see how its bot 43.5 on both sides that shouldnt be happening
 
Upvote 0
You could try conditional formatting the cells in question to flag duplicates and see what shows up.
1710973495848.png
 
Upvote 0
Try this:
Recon.xlsx
MN
4330,300,00
Sheet1
Cell Formulas
RangeFormula
M4M4=+SUMIF(F:F,CHAR(173)&F4,C:C)
N4N4=+SUMIF(F:F,CHAR(173)&F4,D:D)
 
Upvote 0

Forum statistics

Threads
1,215,632
Messages
6,125,908
Members
449,273
Latest member
mrcsbenson

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