Thread: formula problem
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
GaryDK GaryDK is offline
external usenet poster
 
Posts: 13
Default formula problem

Hi Andrew,

Assuming your data starts in B2, and A1 is not a number, enter this in
A2 and copy it down.

=IF(B2=B1,A1,A1+1)

Hope this works for you,

Gary