VBA: Copy / Paste Based on Column Criteria Multiple Sheets

skoobi

New Member
Joined
Mar 21, 2018
Messages
2
Hi All,

After spending a good part of the last 2 weeks trying many ideas and solutions i seem no closer to an answer.

What i am trying to achieve is this:

I have a workbook and in the workbook i have sheets named Properties, March 2018, April 2018 so on till December.

In the properties sheet in row 3 i have the following headers

A
BC
DEFG
Property NumberTenants NameContactRent per weekPaid up toDate PaidAmount Paid

<tbody>
</tbody>

In rows 4 to 20 i have the property address and details.

In Sheet March 2018, April 2018 through till December, I have the sheet set out as follows more or less like a calendar
Column A & B Have Property Name & Tenants Name like Properties Sheet but they start on row 3

In Rows 1 & 2 and Columns C to AG i have the following - these are date formats they go right through to 30/31 for days of the month but custom so one is numbers the other is The Day
1
23456
789101112131415
ThuFriSatSunMonTueWedThuFriSatSunMonTueWedThu

<tbody>
</tbody>

Now what i want to do, i may be in over my head here but maybe someone might have a solution.

Each time a tenant comes in to pay i want to be able to just change the Date Paid & Amount Paid cell on the Properties Sheet to the date they paid and the amount they paid and once those 2 cells have been changed then i want it to automatically copy the amount they paid and find the date column on the Month Sheets that matches to the row of the tenant and paste the value of amount paid into the date column.

Hopefully i can just have it so we only need to change the 2 cells on the Properties Sheet each time they come in to pay and it will continually update the Month sheets until the end of the year and then start a fresh book next year. So it needs to copy the amount paid and use the date it was paid on in column F to find the date in the rest of the sheets and paste the amount that was paid to the day it was paid.

Hopefully this can be done with VBA as i haven't really found a direct answer to what i am trying to achieve.

Thanks again all.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Forum statistics

Threads
1,215,006
Messages
6,122,666
Members
449,091
Latest member
peppernaut

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