Macro for filtering data from two sheets into another

nmk7

New Member
Joined
Feb 3, 2023
Messages
5
Office Version
  1. 365
Platform
  1. Windows
I am building out a new template where I am wanting to paste two separate reports into two separate sheets and then have a third sheet that shows the desired info from the two data sheets. My first report looks like this with data starting in row 18:

Client IdClient NameClient ProgramsTX Plan
Begin Date
TX Plan
End Date
Document NamePrimary CinicianExpiry DaysGoal SmmaryInitial
/Review
Plan
Type
Presenting ProblemTermination
Criteria
1001Doe, Jane02/13/2023
2003Doe, John02/02/2023
3004Smith, Paul03/14/2023
1006Jones, Sara02/16/2023
7004Williams, Tom02/26/2023

Second report looks like this:

ClientService DateBegin TimeEnd TimeMinutesStatusTypeActivityProcedureUnitsStaffProgramOrg CodeBilling Status
Doe, Jane02/05/202303:00 PM04:00 PM
Smith, Josh04/02/202301:00 PM02:00 PM
Johnson, Alex02/06/202302:00 PM02:30 PM
Jones, Sara02/07/202301:00 PM01:30 PM
Stevens, Frank02/02/202305:00 PM05:30 PM
Tom Williams03/01/202303:30 PM04:00 PM

Want I'm wanting is it to filter out the ones outside of the month of February, and then pair the data with the second report to track if they have an appointment scheduled to renew their tx plan before it expires. So ideally the third page would looks something like this:
Client IdClient NameClient ProgramsTX Plan
Begin Date
TX Plan
End Date
Service Date
1001Doe, Jane02/13/202302/05/2023
2003Doe, John02/02/2023
1006Jones, Sara02/16/202302/07/2023
7004Williams, Tom02/26/202303/01/2023

Not sure if it could return a "Not Scheduled" message or not. Is this doable?
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,214,632
Messages
6,120,655
Members
448,975
Latest member
sweeberry

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