Sum a range based on a criteria

TOM M

New Member
Joined
Oct 19, 2009
Messages
28
Hello,

I have a list of properties and payments recording them in order received eg

Prop Payment
1 10
4 5
3 7
3 4
4 9
5 9
1 8
2 9

I then need a sum of all payments for each prop

Prop Total
1 (sum of all payments for Number 1 )
2 (sum of all payments for Number 2)
3 (sum of all payments for Number 3)
4 (sum of all payments for Number 4)
5 (sum of all payments for Number 5)

I have been trying for a while with no success. Any help is greatly appreciated.

Tom M
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Look into using Sumif:

=sumif(A:A,1,B:B)
=sumif(A:A,2,B:B)

And you can repalce the bold number with a cell reference if you want.

Change the ranges as needed.

Hope that helps.
 
Upvote 0

Forum statistics

Threads
1,226,730
Messages
6,192,705
Members
453,748
Latest member
akhtarf3

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