Hello,
I am trying to use sumif on columns of numbers as shown in the following example:
Acct # Amount
000123456 100.00
000123456 199.00
00123456 500.00
00123456 500.00
To get the total for each account number, I use sumif:
=sumif(a:a,a1,b:b) and paste the formula the rest of the way down in a new column to the right.
My problem is that sumif ignores the leading zeros and treats all of the account numbers shown in the example as the same account number.
In the system I am working in, they are distinct accounts, so I cannot remove or pad the number of zeros.
Any ideas on how to get Excel to recognize them as distinct numbers? I have tried converting them to text as well, didn't work.
Thanks
I am trying to use sumif on columns of numbers as shown in the following example:
Acct # Amount
000123456 100.00
000123456 199.00
00123456 500.00
00123456 500.00
To get the total for each account number, I use sumif:
=sumif(a:a,a1,b:b) and paste the formula the rest of the way down in a new column to the right.
My problem is that sumif ignores the leading zeros and treats all of the account numbers shown in the example as the same account number.
In the system I am working in, they are distinct accounts, so I cannot remove or pad the number of zeros.
Any ideas on how to get Excel to recognize them as distinct numbers? I have tried converting them to text as well, didn't work.
Thanks