excel_2009
Active Member
- Joined
- Sep 14, 2009
- Messages
- 318
Hi Excel gurus,
I have the following formula which assigns a number to a cell
It works great however I have a small issue in relation to when a blank value is in a cell, I'd like for the numbers to reset to 1 and increment (instead of continuing to increment irresepctive of coming across a blank cell):
Desired result:
<tbody>
</tbody>
Instead of the following current issue:
<tbody>
</tbody>
Please can someone help?
I have the following formula which assigns a number to a cell
Code:
=IF(E2="","",COUNTA($E$2:E2))
It works great however I have a small issue in relation to when a blank value is in a cell, I'd like for the numbers to reset to 1 and increment (instead of continuing to increment irresepctive of coming across a blank cell):
Desired result:
COLUMN E | FORMULA COLUMN |
A | 1 |
B | 2 |
C | 3 |
E | 1 |
D | 2 |
G | 3 |
H | 4 |
I | 5 |
Y | 1 |
U | 2 |
I | 3 |
<tbody>
</tbody>
Instead of the following current issue:
COLUMN E | FORMULA COLUMN |
A | 1 |
B | 2 |
C | 3 |
E | 4 |
D | 5 |
G | 6 |
H | 7 |
I | 8 |
Y | 9 |
U | 10 |
I | 11 |
<tbody>
</tbody>
Please can someone help?