Hi,
I am new to this forum and need some help to insert rows based on criteria in a spreadsheet (csv) with 40 columns and <100,000 rows.
I need to insert a row based on a range of +- 600 such that if B2 is within +- 600 of B1 DO NOT insert row. If B2 > B1 by >600 THEN insert row and mark row with increasing numbers 1,2,3,4.... to count inserted rows. This needs to done throughout entire spreadsheet.
An example is below
<tbody>
</tbody>
VBA to sort spreadsheet to:
<tbody>
</tbody>
Thanks
I am new to this forum and need some help to insert rows based on criteria in a spreadsheet (csv) with 40 columns and <100,000 rows.
I need to insert a row based on a range of +- 600 such that if B2 is within +- 600 of B1 DO NOT insert row. If B2 > B1 by >600 THEN insert row and mark row with increasing numbers 1,2,3,4.... to count inserted rows. This needs to done throughout entire spreadsheet.
An example is below
1 | 250 |
2 | 400 |
3 | 450 |
4 | 600 |
5 | 1500 |
6 | 1700 |
7 | 4000 |
<tbody>
</tbody>
VBA to sort spreadsheet to:
1 | 250 |
2 | 400 |
3 | 450 |
4 | 600 |
#1 | |
5 | 1500 |
6 | 1700 |
#2 | |
7 | 4000 |
<tbody>
</tbody>
Thanks