Jump to content

How to set auto-prefix in Excel?


Recommended Posts

Greetings.

I m trying to do some indexing in my company (using excel 2016) and i would like to:

A) Be able to insert a 3 digit code (from A4 until A10000 cell) but when i write this code to AUTOMATICALLY have a prefix of 2020 (lets say if i write 2XL the result will be 2020.2XL)

B) The 3 digit code should be UNIQUE (so the A4:A10000 should have unique values) => i ve done it

I ve managed to achieve B.

Can anyone help with A?

Edited by Tripredacus
Link to comment
Share on other sites


I have the english version if this is what you mean. Will try your code tomorrow in work as i am home as we speak. I will report back

 

:)

 

Where should i put this code? Cause i have already one formula in column A

 

 

Link to comment
Share on other sites

You posted into the programming section, that is what I mean by language. My "code" is "code theory" and while it may be usable in certain languages, it is only an example.

If you are not writing a program to do this, I can move the topic into the Office section.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...