Gary Reger wrote...
>data that i have is
>
[quoted text clipped - 9 lines]
>and they need to be consecutive like you use with autofill numbering
>but it needs to skip the spaces and yet keep the numbering in order
If your topmost row is in row 1, so the topmost col A cell would be A1,
then try these formulas.
A1:
=IF(OR(B1={"jh","ar"}),1,"")
A2:
=IF(OR(B2={"jh","ar"}),1+MAX(A$1:A1),"")
Fill A2 down as far as needed.
Gary Reger - 21 Dec 2005 21:44 GMT
it did not work here is what i got
1 JH
1 JH
1 AR
1 AR
1 JH
1 JH
1 JH
2 AR
2 JH
2 JH
2 JH
2 JH
2 JH
AR
AR
3 JH
3 AR
4 JH
4 JH
4 JH
4 JH
JH
AR
5 AR
5 JH
5 JH
6 JH
6 AR
6 JH
6 JH
> Gary Reger wrote...
> >data that i have is
[quoted text clipped - 21 lines]
>
> Fill A2 down as far as needed.
Gary Reger - 21 Dec 2005 22:00 GMT
I am sorry this did work. ignore my other reply please
thank you very much for your help
> Gary Reger wrote...
> >data that i have is
[quoted text clipped - 21 lines]
>
> Fill A2 down as far as needed.