Sum If Cell Matches

Mcook13

New Member
Joined
May 14, 2019
Messages
43
Hello,

I am trying to sum a column based on matching PO#'s

My sheet has the customer PO# in column A, the part # in column B, that part#'s total dollar amount in column C, and in column D is where I would like it to total that PO in the cell in that column. Below is how I have it set up and in column D is what it should look like.

I think it would be a SumIF(s), but I can't figure out how to write it so it'll work.

Any help is appreciated


ABCD
PO#Part #Line TotalOrder Total
SHOP1A16897.5536864.55
SHOP1B1478936864.55
SHOP1C517836864.55
SHOP2A522522
SHOP3A1395413954
SHOP4A18001800
SHOP5A3601137
SHOP5B19141137
SHOP6A991.2799.27
SHOP7A4396321.73
SHOP7B4172.736321.73
SHOP7C17106321.73

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
How about
=SUMIF(A:A,A2,C:C)
 
Upvote 0
Try putting this in cell D2 and copy down to row 13:
Code:
=SUMIF($A$2:$A$13,A2,$C$2:$C$13)
 
Last edited:
Upvote 0
Glad we could help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,213,549
Messages
6,114,264
Members
448,558
Latest member
aivin

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