Hi, does anyone know how to export data from one worksheet to multiple workbooks based on the criteria.
for example below, the criteria are based on the column "Name" and "Level", and save as following;
output: copy the data set into separate worksheets based on the "Level" by "Name"
Dataset
for example below, the criteria are based on the column "Name" and "Level", and save as following;
output: copy the data set into separate worksheets based on the "Level" by "Name"
Workbooks name | Worksheets name | |||
Robert | Level 1 | Level 2 | Level 3 | Level 4 |
John | Level 1 | Level 2 | Level 3 | |
David | Level 1 | Level 4 | ||
William | Level 1 | Level 3 |
Dataset
ID | Order date | Name | Level | Salary | Job Time | Prev Exp |
1 | Nov-10-22 | Robert | Level 3 | $57,000 | 98 | 144 |
2 | Jan-13-23 | John | Level 2 | $40,200 | 98 | 36 |
3 | Jan-11-23 | Robert | Level 1 | $21,450 | 98 | 381 |
4 | Jan-12-23 | David | Level 4 | $21,900 | 98 | 190 |
5 | Nov-10-22 | William | Level 1 | $45,000 | 98 | 138 |
6 | Dec-07-22 | John | Level 1 | $32,100 | 98 | 67 |
7 | Dec-20-22 | Robert | Level 4 | $36,000 | 98 | 114 |
8 | Nov-10-22 | William | Level 3 | $21,900 | 98 | 0 |
9 | Jan-11-23 | Charles | Level 1 | $27,900 | 98 | 115 |
10 | Dec-27-22 | Christopher | Level 1 | $24,000 | 98 | 244 |
11 | Dec-16-22 | Daniel | Level 1 | $30,300 | 98 | 143 |
12 | Dec-13-22 | John | Level 3 | $28,350 | 98 | 26 |
13 | Nov-21-22 | Robert | Level 2 | $27,750 | 98 | 34 |