tourless
Board Regular
- Joined
- Feb 8, 2007
- Messages
- 144
- Office Version
- 365
- Platform
- Windows
Hi Folks,
I'm working with some data that looks like this...
Column B holds the values of 01, 03, or 04. I need to check each value in column B and delete any rows that are 03 or 04 until the next value in Column B. My end result should look like this...
I'd like to be able to add some vba to an automated routine that I'm building to do a few more things with the data but I'm stuck on this part. Any assistance is greatly appreciated.
I'm working with some data that looks like this...
CAP8503MKTG | 04 | EA | OM |
1 | |||
CAP8504MKTG | 01 | EA | OW |
35-38 | 1 | PO: 0009692 | |
CAP8504MKTG | 03 | EA | OW |
27-5 | 1 | PO: 0009168 | |
CAP8505MKTG | 01 | EA | OP |
59-1 | 0 | PO: 0008577 | |
59-1 | 25 | PO: 0009692 | |
59-1 | 25 | PO: 0009693 | |
CAP8505MKTG | 04 | EA | OP |
1 | |||
Column B holds the values of 01, 03, or 04. I need to check each value in column B and delete any rows that are 03 or 04 until the next value in Column B. My end result should look like this...
CAP8504MKTG | 01 | EA | OW |
35-38 | 1 | PO: 0009692 | |
CAP8505MKTG | 01 | EA | OP |
59-1 | 0 | PO: 0008577 | |
59-1 | 25 | PO: 0009692 | |
59-1 | 25 | PO: 0009693 | |
I'd like to be able to add some vba to an automated routine that I'm building to do a few more things with the data but I'm stuck on this part. Any assistance is greatly appreciated.