Hi All!
I have a database storing all open files and at which phase they currently are (each phase representing a different step in the process e.g Registered / Confirmed / Production / Test / Certified / Dispatched
The aim is to detect when a file goes reach a certain phase and then would be rejected to the previous phase. I attached a simplified example of the database with only 2 open files (they are in reality hundreds of file, the excel spreadsheet has tens of thousands of rows)
Therefore I could summarize in a different sheet the files that reached phase 4 and was rejected to phase 3 (ideally with the date when it was back at phase 3.
Apparently the best way (as I cannot loop it would take forever and crash) is to use arrays and directory but I am a bit stuck here as the values should be stored by pair I think (File ID + Current Status).
Can anyone help with this?
Many Thanks!!
File:
<colgroup><col><col><col><col span="2"></colgroup><tbody>
</tbody>
I have a database storing all open files and at which phase they currently are (each phase representing a different step in the process e.g Registered / Confirmed / Production / Test / Certified / Dispatched
The aim is to detect when a file goes reach a certain phase and then would be rejected to the previous phase. I attached a simplified example of the database with only 2 open files (they are in reality hundreds of file, the excel spreadsheet has tens of thousands of rows)
Therefore I could summarize in a different sheet the files that reached phase 4 and was rejected to phase 3 (ideally with the date when it was back at phase 3.
Apparently the best way (as I cannot loop it would take forever and crash) is to use arrays and directory but I am a bit stuck here as the values should be stored by pair I think (File ID + Current Status).
Can anyone help with this?
Many Thanks!!
File:
Day Count | Date | File ID | Description | File Status |
1 | 26/08/2015 | 800 | Accident | Phase 3 |
1 | 26/08/2015 | 801 | Theft | Phase 3 |
2 | 27/08/2015 | 800 | Accident | Phase 3 |
2 | 27/08/2015 | 801 | Theft | Phase 3 |
3 | 28/08/2015 | 800 | Accident | Phase 3 |
3 | 28/08/2015 | 801 | Theft | Phase 3 |
4 | 29/08/2015 | 800 | Accident | Phase 4 |
4 | 29/08/2015 | 801 | Theft | Phase 3 |
5 | 30/08/2015 | 800 | Accident | Phase 3 |
5 | 30/08/2015 | 801 | Theft | Phase 3 |
6 | 31/08/2015 | 800 | Accident | Phase 3 |
6 | 31/08/2015 | 801 | Theft | Phase 4 |
7 | 01/09/2015 | 800 | Accident | Phase 3 |
7 | 01/09/2015 | 801 | Theft | Phase 3 |
8 | 02/09/2015 | 800 | Accident | Phase 3 |
8 | 02/09/2015 | 801 | Theft | Phase 4 |
9 | 03/09/2015 | 800 | Accident | Phase 3 |
9 | 03/09/2015 | 801 | Theft | Phase 3 |
10 | 04/09/2015 | 800 | Accident | Phase 3 |
10 | 04/09/2015 | 801 | Theft | Phase 3 |
<colgroup><col><col><col><col span="2"></colgroup><tbody>
</tbody>
Last edited: