Rohith1324
Board Regular
- Joined
- Feb 27, 2018
- Messages
- 114
Hi I'm sharing the sample data below and really looking forward for the code which helps me in performing the task :
Task :
If you see the below data I have the Package information and status information against each row
when ever all the row line items for the particular package is showing the status as "TRUE" then that particular package rows including the headers should be copied to new excel workbook and the excel workbook to be named as Order Number Present in column A and include the package details in column E.xlsx
Even a single row for that particular package is showing the status as "False" then that package details are not required to be created as a new workbook
Task :
If you see the below data I have the Package information and status information against each row
when ever all the row line items for the particular package is showing the status as "TRUE" then that particular package rows including the headers should be copied to new excel workbook and the excel workbook to be named as Order Number Present in column A and include the package details in column E.xlsx
Even a single row for that particular package is showing the status as "False" then that package details are not required to be created as a new workbook
Order number | Material | Qty | Status | Package |
2222222 | Item1 | 15 | TRUE | Package1 |
2222222 | Item2 | 8 | TRUE | Package1 |
2222222 | Item3 | 6 | TRUE | Package1 |
2222222 | Item4 | 15 | TRUE | Package1 |
2222222 | Item5 | 10 | TRUE | Package1 |
2222222 | Item6 | 14 | TRUE | Package1 |
444444 | Item45 | 7 | FALSE | Package2 |
444444 | Item54 | 11 | TRUE | Package2 |
888888 | Item1 | 7 | TRUE | Pacakge3 |
888888 | Item66 | 2 | TRUE | Pacakge3 |
9999999 | Item77 | 14 | FALSE | Package4 |
9999999 | Item1 | 9 | FALSE | Package4 |