LambChoptheKid
New Member
- Joined
- Dec 10, 2022
- Messages
- 35
- Office Version
- 365
- Platform
- Windows
Hello, I am trying to create a macro that will handle data that often includes 3x repeated timestamps. For those repeated timestamps, I need to keep the second iteration and discard the rows with the first and the third.
Example:
These columns will continue in this manner with three distinct values for each timestamp. Sometimes there is only one value for the timestamp, these values should be left alone
Is there a way to write a macro that will delete the first and third repeat?
Example of what I want the sheet to look like after running the macro:
Idea is to keep the second value and delete the rows with the first and third. I've written some VBA but I'm really scratching my head trying to make something work here. Also I have no way to use XL2BB so outside of a screenshot I can't give much more than what I've already provided.
If I have been unclear in my post I'd be happy to clarify.
If anyone is able to provide some insight as to how to tackle this, any guidance will be greatly appreciated!
Example:
These columns will continue in this manner with three distinct values for each timestamp. Sometimes there is only one value for the timestamp, these values should be left alone
Is there a way to write a macro that will delete the first and third repeat?
Example of what I want the sheet to look like after running the macro:
Idea is to keep the second value and delete the rows with the first and third. I've written some VBA but I'm really scratching my head trying to make something work here. Also I have no way to use XL2BB so outside of a screenshot I can't give much more than what I've already provided.
If I have been unclear in my post I'd be happy to clarify.
If anyone is able to provide some insight as to how to tackle this, any guidance will be greatly appreciated!
Last edited: