Hello, I would like to move a row to multiple sheets in another workbook based on values in 2 columns. Please help me
Workbook1
-There are multiple sheets with the same columns. The sheet names differ by date. I would like on any sheet in Workbook1, when the value in Column A-"PCN Reactivation" is changed to "Yes" then the entire row is moved based on a value in Column B-"Cohort" to Worksheet2. Column B would have values 1, 2, 3, 4, 5.
Examples
-If Column A is changed to "Yes" on any sheet and the value in Column B is 1 then move the entire row to the next row on sheet names "Total Cohorts" and "Cohort1" in Workbook2.
-If Column A is changed to "Yes" on any sheet and the value in Column B is 2 then move the entire row to the next row on sheet names "Total Cohorts" and "Cohort2" in Workbook2.
-If Column A is changed to "Yes" on any sheet and the value in Column B is 3 then move the entire row to the next row on sheet names "Total Cohorts" and "Cohort3&5" in Workbook2.
-If Column A is changed to "Yes" on any sheet and the value in Column B is 4 then move the entire row to the next row on sheet names "Total Cohorts" and "Cohort4" in Workbook2.
Workbook2
-Sheet names are Total Cohorts, Cohort1, Cohort2, Cohort3&5, Cohort4
Workbook1
-There are multiple sheets with the same columns. The sheet names differ by date. I would like on any sheet in Workbook1, when the value in Column A-"PCN Reactivation" is changed to "Yes" then the entire row is moved based on a value in Column B-"Cohort" to Worksheet2. Column B would have values 1, 2, 3, 4, 5.
Examples
-If Column A is changed to "Yes" on any sheet and the value in Column B is 1 then move the entire row to the next row on sheet names "Total Cohorts" and "Cohort1" in Workbook2.
-If Column A is changed to "Yes" on any sheet and the value in Column B is 2 then move the entire row to the next row on sheet names "Total Cohorts" and "Cohort2" in Workbook2.
-If Column A is changed to "Yes" on any sheet and the value in Column B is 3 then move the entire row to the next row on sheet names "Total Cohorts" and "Cohort3&5" in Workbook2.
-If Column A is changed to "Yes" on any sheet and the value in Column B is 4 then move the entire row to the next row on sheet names "Total Cohorts" and "Cohort4" in Workbook2.
Workbook2
-Sheet names are Total Cohorts, Cohort1, Cohort2, Cohort3&5, Cohort4