Increment Account Numbers

R

rickree

Hello,

I'm trying to figure out a way to generate account number and
increment them based on dates. For example:

A-Account Number B-Date
1 P010110-01 01/01/10
2 P010110-02 01/01/10
3 P010210-01 01/02/10
4 P020310-01 02/03/10
5 P020410-01 02/04/10
6 P020410-02 02/04/10
7 P020410-03 02/04/10

So in column A the account number is generated by the date entered in
column b.
If the date enter is 02/02/10 than the account number automatically
generated should be P020210-01, but if that date already exists than
the account number should increment to -02 and so forth.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top