Sum Product or Sum IF for criteria in multiple columns

DebbyH

New Member
Joined
Oct 13, 2015
Messages
8
I am hoping you can provide assistance. I have a worksheet with various account numbers spanning several hundred rows. Although the numbers here are in sequence the accounts could vary 10045, 20048, 81007. What I would like to have happen is to have excel total the sum of a column if the account numbers match.

For instance - YES, I COULD SORT THE ACCOUNT NUMBERS and I COULD REMOVE THE DUPLICATE ACCOUNTS ONCE TOTALED

Account # Service Date Txn Amount Total Txn Amount/Account #
10001 02/09/2018 10.00 10
80012 12/19/2017 25.00 110
80012 07/04/2018 10.00 110
80012 05/02/2017 75.00 110
40013 01/01/2018 15.00 70
40013 02/07/2017 55.00 70
10004 05/01/2017 18.00 18


Any assistance would be appreciated. Thank you.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Code:
=SUMIF(A:A,80012,C:C)

that would sum 'Txn Amount Total' for account 80012 (110.00)

you can replace the 80012 with a cell that references the account you want to sum

You could also just create a pivot table with the account numbers listed in the row labels and the amount in the data to sum
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,021
Latest member
Justyna P

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