View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default auto numbering of data with columns in between?

Assuming Row1 with headers use this formula in A2.. and copy that down...

=IF(B2="","",MAX(INDIRECT("A1:A"&ROW()-1))+1)

If this post helps click Yes
---------------
Jacob Skaria


"sachin" wrote:

Pls. help me in lenier numbering of data where there are discontinuities in
between...

Store No. Store Grade

A

B
B
B

C
C
C
C
C

D
D
D
D
D

E
E
E
E
E