fitaliano
asked on
DSUM Error
In the following file the DSUM is picking up more than it should... It seems to be making a sort of "like" when summing up the results. If you open the file you can clearly see what I mean.
I want the DSUM to pick up exactly what specified in the Criteria.
MS-DSUM-Error.xls
I want the DSUM to pick up exactly what specified in the Criteria.
MS-DSUM-Error.xls
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Per Excel Help in the criteria examples:
To indicate an equality comparison operator for either text or a value, type the criteria as a string expression in the appropriate cell in the criteria range:
=''=entry''
and:
To find text values that share some characters but not others, do one or more of the following:
Type one or more characters without an equal sign (=) to find rows with a text value in a column that begin with those characters. For example, if you type the text Dav as a criterion, Excel finds "Davolio," "David," and "Davis."
It works the same way as the Advanced Filter.
HTH
Rory
To indicate an equality comparison operator for either text or a value, type the criteria as a string expression in the appropriate cell in the criteria range:
=''=entry''
and:
To find text values that share some characters but not others, do one or more of the following:
Type one or more characters without an equal sign (=) to find rows with a text value in a column that begin with those characters. For example, if you type the text Dav as a criterion, Excel finds "Davolio," "David," and "Davis."
It works the same way as the Advanced Filter.
HTH
Rory
Help - about the only place I didn't look.
To be fair, I was looking at 2003's help as I gave up on it from 2007 onwards. :)
Actually I did find it in 2010 help just now.
Embarassingly I also found it last night here.
Just didn't read it through properly.:)
Embarassingly I also found it last night here.
Just didn't read it through properly.:)
A lot of people just suggest replacing the DSUM with another function, eg COUNTIF, SUMPRODUCT.
For example in this case:
=SUMPRODUCT(--($B$4:$B$8=K
Or in later versions (2007-) SUMIFS.
=SUMIFS(D4:D8,B4:B8,K4,C4: