View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
JenIT JenIT is offline
external usenet poster
 
Posts: 25
Default Add incremental character to cell value at change in value 449becomes 449-A 510 becomes 510-B

I do not know if this is even possible, but this is an example of what
I am starting with and what I would like it to become. Sheet has two
columns and would like to add to the invoice number an incremental
alphabet number when the order number changes - but if the invoice
number changes - the alpha number also has to start again.

The "I would like it to become" column can be in a separate column. I
can always concatenate or delete info to get final result if I can
just get the - alpha character somewhere.

order invoice I would like it to become........
449 12000 12000 - A
510 12000 12000 - B
510 12000 12000 - B these stay the
same because order number did not change
510 12000 12000 - B these stay the
same because order number did not change
535 12001 12001 - A
535 12001 12001 - A these stay the
same because order number did not change
540 12001 12001 - B
544 12001 12001 - C

I hope this makes sense and If anyone has any ideas I would love to
hear them. Thanks ahead of time.
Jen