gtd526
Well-known Member
- Joined
- Jul 30, 2013
- Messages
- 684
- Office Version
- 2019
- Platform
- Windows
Hello,
Using VBA, how can I count cells from the Blank Cell(E14) to the last cell <70% moving Up (E9) or Down, depending where the Blank cell is located. The Blank Cell is where the count will start.
The Blank cell could be in different rows (there will only be 1 blank cell in the range (between beginning and end of range).
The range of cells will always begin with E3, but may End in random cells in the same column (either E10, or E25, or E30, or E53, ????).
-5 should be the answer.
I want to use this result as an offset for # of rows to move/insert the blank cell to just below 70%'s (or other specified %).
thank you.
Using VBA, how can I count cells from the Blank Cell(E14) to the last cell <70% moving Up (E9) or Down, depending where the Blank cell is located. The Blank Cell is where the count will start.
The Blank cell could be in different rows (there will only be 1 blank cell in the range (between beginning and end of range).
The range of cells will always begin with E3, but may End in random cells in the same column (either E10, or E25, or E30, or E53, ????).
-5 should be the answer.
I want to use this result as an offset for # of rows to move/insert the blank cell to just below 70%'s (or other specified %).
thank you.
NBA.xlsm | |||
---|---|---|---|
E | |||
1 | >=70% | ||
2 | Criteria2 Percentage | ||
3 | 75.7% | ||
4 | 75.0% | ||
5 | 75.0% | ||
6 | 75.0% | ||
7 | 72.7% | ||
8 | 75.0% | ||
9 | 66.7% | ||
10 | 66.7% | ||
11 | 65.0% | ||
12 | 65.0% | ||
13 | 61.4% | ||
14 | |||
15 | 57.1% | ||
16 | 55.7% | ||
17 | |||
18 | |||
19 | |||
Sheet2 |