View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
DekHog DekHog is offline
external usenet poster
 
Posts: 4
Default Fill cells with code based on content of preceeding cell?

Hi all....

I've got a spreadsheet with 37,000 rows - one of the columns in this
is an activity description, and many of these are repeated multiple
times in the column. What I need to do, either with a formula or VBA,
is to assign each activity description a code in the next column in
the format T0001, T0002, etc. So, 'Job 1 = T0001, 'Job 2 = T0002, etc.

Can anyone help?

TIA