Forum Discussion
SUM.IF
- Mar 29, 2019
rc14354 , yes, Excel recognizes only first 15 digits and drops the rest when you do calculations with such values as with numbers. As workaround, if you leading digits are always the same, you may split that column on two, first 10-15 digits and the rest (Data->Text to Columns) and operate with the second column.
- rc14354Mar 29, 2019Copper Contributor
Thanks for your prompt reply.
Unfortunately leading numbers are not always the same.
Nevertheless in the REMARKS in https://support.office.com/en-us/article/sumif-function-169b8c99-c05c-4483-a712-1697a653039b
is said that "The SUMIF function returns incorrect results when you use it to match strings longer than 255 characters or to the string #VALUE!."
So I thought that the problem was not lenght of the criteira string.
Thanks a lot
rinaldo
- SergeiBaklanMar 29, 2019Diamond Contributor
rc14354 , you have no one error on your screenshot. And what do you exactly do, you convert texts in first column to values and sum them based on criteria, or you use them as criteria?
- rc14354Mar 29, 2019Copper Contributor
I do not convert first column in text but I use them directly as criteria