=ROW-1, =SUBTOTAL(3,$B$2:$B2) don't work in hidden rows.
I have made several assumptions here, but try this formula:
=IF(ROW()=2,1,A1+1)
Is that what you need?
Thx
MSweetG222
"StargateFan" wrote:
In A2, =ROW-1 works until one filters rows. Also in A2,
=SUBTOTAL(3,$B$2:$B2) does work with filters but doesn't work with
hidden rows.
Is there code that will number rows consecutively even if one
_filters_ AND/OR manually _hides_ rows?? I've googled and googled the
archives but nothing comes up for this particular dual requirement.
Thanks. :oD
|