VBAhelpplz
New Member
- Joined
- Mar 24, 2023
- Messages
- 1
- Office Version
- 365
- Platform
- Windows
Hi I am at a loss how to do this. I have a range of numbers in the column. Some are 0s and some are not. I need to:
1) find first non 0 value in the range (SaaS column, would correspond to 1/1/24 and $25000
2) count how many rows until next non 0 value in the range (10/1/2024 and $30000)
3) if count is >12 display error
4) do until entire range is checked and there are no instances where the rows with 0s between rows with non-zeros is >12 left. Any help would be greatly appreciated. Here is the data:
1) find first non 0 value in the range (SaaS column, would correspond to 1/1/24 and $25000
2) count how many rows until next non 0 value in the range (10/1/2024 and $30000)
3) if count is >12 display error
4) do until entire range is checked and there are no instances where the rows with 0s between rows with non-zeros is >12 left. Any help would be greatly appreciated. Here is the data: