J
jamesgreen55
Hi All, I am fairly new to VBA and have what may be a complex issue?
In summary I need a counter in column "B" which is based on duplicate
values in column "A" see example below; (Data is already sorted).
Note; look for a macro to do this as opposed to a formula- unless of
course the forumla is in the Macro, so long as it is not by itself in
a cell if that makes sense at all
.
A B
apple 1
apple 2
apple 3
orange 1
pear 1
pear 2
cherry 1
banana 1
banana 2
banana 3
banana 4
Any Ideas? or samples you can point me too?
Thanks in Advance!
James
In summary I need a counter in column "B" which is based on duplicate
values in column "A" see example below; (Data is already sorted).
Note; look for a macro to do this as opposed to a formula- unless of
course the forumla is in the Macro, so long as it is not by itself in
a cell if that makes sense at all

A B
apple 1
apple 2
apple 3
orange 1
pear 1
pear 2
cherry 1
banana 1
banana 2
banana 3
banana 4
Any Ideas? or samples you can point me too?
Thanks in Advance!
James