doriannjeshi
Active Member
- Joined
- Apr 5, 2015
- Messages
- 273
- Office Version
- 365
- Platform
- Windows
Hi
I need to delete the row where the total is less than 1. Possible to have this macro dynamic , totals column is always going to be at the end of the range!
I need to delete the row where the total is less than 1. Possible to have this macro dynamic , totals column is always going to be at the end of the range!
Book2 | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | A | B | C | D | E | F | TOTAL | ||
2 | 1 | 1 | -3 | 1 | 0 | ||||
3 | 1 | 1 | 1 | 1 | 1 | 1 | 6 | ||
4 | 1 | 1 | 1 | 1 | 1 | 1 | 6 | ||
5 | 1 | 1 | 1 | 1 | 1 | 1 | 6 | ||
6 | 1 | 1 | 1 | 1 | 1 | 5 | |||
7 | 1 | 1 | 1 | 1 | 1 | 5 | |||
8 | 1 | 1 | 1 | 1 | 1 | 1 | 6 | ||
9 | 1 | 1 | 1 | -6 | 1 | -2 | |||
10 | 1 | 1 | 1 | 1 | 4 | ||||
11 | 1 | 1 | 1 | 1 | 1 | 1 | 6 | ||
12 | 1 | 1 | 1 | 1 | 1 | 5 | |||
13 | 1 | 1 | 1 | 1 | 1 | 1 | 6 | ||
14 | 1 | 1 | 1 | 1 | 1 | 5 | |||
sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
G2:G14 | G2 | =SUM(A2:F2) |