Macro to calculate sums paid in this scenario?

chuckles1066

Banned
Joined
Dec 20, 2004
Messages
372
Apologies, I tried downloading that Jeanie thing but it isn't having any of it on this pc.

Anyway, here goes:

Column B contains a unique id (always begins with 000) followed by dates that rent has been received.

So, in cell B2 you might have 00012345, in cell B3 you would have a date, in cell B4 you **might** have a date or you might have another unique id 00012346.....

For each date, there will be a corresponding monetary amount in column G.

So, above, G3 would have a monetary amount, if there was a date in B4 then there'd be a monetary value in G4.

For each unique value in column B, there could be any number of rows containg dates and rent received values beneath, it's non-standard.

What I need is something that will group unique ids (always beginning with 000) and total rents received.

TIA.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
chuckles1066,

What version of Excel are you using?

You will generally get much more help (and faster) in this forum if you can post your small samples (what you have and what you expect to achieve) directly in the forum.

To attach screenshots, see below in my Signature block: Post a screen shot with one of these:

If you are not able to give us screenshots, see below in my Signature block: You can upload your workbook to Box Net
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,710
Members
452,939
Latest member
WCrawford

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