catalincoman
New Member
- Joined
- Dec 27, 2022
- Messages
- 2
- Office Version
- 365
- Platform
- Windows
Hi,
Please if someone can help, I have a big table that contains 4 columns and approx. 5000 rows. First column has the date, second has a ID number, third has a serial number and fourth has a type of activity. I need somehow to sort and check if on the same serial number there are multiple same type activities in a defined time interval ( for example: one month interval ) but having the ID number different. If this criteria is not meet then delete all the other rows.
Maybe you can help me with a VBA or some formulas that can do the above requirements.
Example:
In the above table the serial number 120b547 appears multiple times but only row 2, 5 and 7 meet the criteria. all the other should be deleted.
Thank you in advance for for your help and support.
BR,
Catalin
Please if someone can help, I have a big table that contains 4 columns and approx. 5000 rows. First column has the date, second has a ID number, third has a serial number and fourth has a type of activity. I need somehow to sort and check if on the same serial number there are multiple same type activities in a defined time interval ( for example: one month interval ) but having the ID number different. If this criteria is not meet then delete all the other rows.
Maybe you can help me with a VBA or some formulas that can do the above requirements.
Example:
1 | Act. Start Date | ID Number | Serial Nr | Activity Type |
2 | 2022.05.07 | 123456 | 120b547 | y09 |
3 | 2022.01.15 | 658699 | 55i698 | r04 |
4 | 2022.11.17 | 123456 | 120b547 | y09 |
5 | 2022.05.18 | 6985633 | 120b547 | y09 |
6 | 2022.05.10 | 455822 | 120b547 | z02 |
7 | 2022.06.03 | 985896 | 120b547 | y09 |
8 | 2022.09.23 | 4589987 | 120b547 | y09 |
In the above table the serial number 120b547 appears multiple times but only row 2, 5 and 7 meet the criteria. all the other should be deleted.
Thank you in advance for for your help and support.
BR,
Catalin