+ Reply to Thread
Results 1 to 11 of 11

Formula to create alpha numerical SKU's

  1. #1
    Registered User
    Join Date
    01-07-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Formula to create alpha numerical SKU's

    I am part of a business that requires alpha numerical SKU's to be created ie: C-0000-AA-9, C-0000-AB-6, C-0000-AC-2 & C-0001-AA-3, C-0002-AA-7

    Instead of keying all 9 digits is there a formula that can generate the 4 numerical digits running from 0000-9999 but also able to then add in 1 to 2 alpha digits running alphabetically at the front & end of the sku?

    Moderators Note: Please follow Forum Rule #1 and use concise thread titles from now on. Changed for you this time, but please choose a clearer title in the future…Thanks.
    Last edited by jeffreybrown; 01-07-2013 at 09:27 PM. Reason: Title update

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Formula to create alpha numerical SKU's

    In a code like A-0000-AA-0, in what order do the different sections of this SKU changes?
    1. A from A-Z
    2. 0000 from 0000-9999
    3. AA from AA-ZZ
    4. 0 from 0-9
    Can you please rank them? I assumed the range of all of them. Am I right?
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

  3. #3
    Registered User
    Join Date
    01-07-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Formula to create alpha numerical SKU's

    I can attach a sample of previously created SKU's.

    The Alpha codes at the start have an internal meaning but the 4 numercial numbers followed by either 1 or 2 alpha numeric numbers are to sort & allocate size, colour, etc.

    Let me see how I go attaching an example
    Attached Files Attached Files

  4. #4
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Formula to create alpha numerical SKU's

    Is the last digit a CHECK digit?

  5. #5
    Registered User
    Join Date
    01-07-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Formula to create alpha numerical SKU's

    Sorry should have explained that initially, yes the last number is a check digit.

  6. #6
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Formula to create alpha numerical SKU's

    Looking at the SKU's and I can see that it not random. Is it?
    It seems to me that last letter have those meaning:
    A means Men size S
    B means Men size M
    C means Men size L
    D means Men size XL
    E means Men size 2XL, ETC.
    H means Ladies size S
    I means Ladies size M
    J means Ladies size L
    K means Ladies size XL
    L means Ladies size 2XL

    You must have some sort of specific values tables associated with size or color. Don't you?

  7. #7
    Registered User
    Join Date
    01-07-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Formula to create alpha numerical SKU's

    Sort of correct, we have never allocated an alpha digit to a size or a colour specifically ie: A = Small Mens, it is purely random. 'A' can sometimes mean Mens extra small, womens size 4 or even Nike 2" ball. There is no real values table within our business. We have used B (blue), R (red), G (green), Y (yellow), P (purple), O (orange) to describe colours on other products within the business though.

    It is a very simple location. Small to medium business not a lot of resources have gone into the system side.

    It would be a monumental job to re-do the 14,000 skus currently so I am looking for a work around until such time I can re-vamp the whole process.

    I have attached a second example for your information on another tab.
    Attached Files Attached Files

  8. #8
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Formula to create alpha numerical SKU's

    I'm trying to figure out what part of random numbering you need in this process. I don't think there is any though.
    Also, you probably don't want to duplicate an existing SKU. So you must have a list of all SKU used to date.
    From this list, a macro could find the next number to use in a specific series like SL.... or C..... assuming you assigned them sequentially.
    From there, it would be easy to arrange a special sheet where you could enter all the parts to be numbered with specific characteristics in a table to help create the SKU.
    What do you think of that?
    It's getting late here in Canada so I'll see your answer tomorrow morning. Good day.

  9. #9
    Registered User
    Join Date
    01-07-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Formula to create alpha numerical SKU's

    Basically I want to remove the data entry

    Not sure on the formula but if I have a column that has the letter it looks up that then put the number running in sequence next to it then, if possible puts A or AA then continues AB, AC, AD for however many numbers I require in that model.

    Example:

    Mens Perform Black Shirts small to Large:

    C - internal classification, 0001 - Perform, A = Black, A=Small then CHECK digit Code: C0001AA-check digit, so Medium would be C0001AB-check digit, Large C0001AC-Check digit.

    Thanks again for looking into this I maybe clutching at straws but if there is a way to assist me not keying in 1000+ codes it would be a great help.

    Cheers

  10. #10
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Formula to create alpha numerical SKU's

    I'm not sure to be able to come up with something usefull. You don't think you want a real sequential numbering system. You want to put some structures in those SKU and this means you need to define some parameters. And that structure, you ought to define it first.
    If you want color to be a parameter, you must list most regularly used colors and assign a letter for each of them.
    If you want size to be a parameter, you must list most regularly used size and assign a letter for each of them.
    You must also define which will be first letter in SKU: Color-Size or Size-Color?
    I assume numeric value will be sequencial but I saw that you must use only one number for ONE product. I also assume that men's product will have a different number than the women's one.
    Quite a job to program! And as I said earlier, if you don't want to have duplicate SKUs you must have a table of all existing SKUs in usage.

    Now, when you have to assign new SKUs, do you have a list of products to work with? Is it in a table form? Can you supply an example?
    You mentionned 1000 of SKUs to create. Do you really have that much new products to process?
    Do the exercise. Go through all the brain process you do to assign a SKU based only on the description of the object or a batch of similar products.
    That's what you want to be programmed.
    If you want to go further, please give me as much information as possible.
    Last edited by p24leclerc; 01-08-2013 at 10:01 PM.

  11. #11
    Registered User
    Join Date
    01-07-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Formula to create alpha numerical SKU's

    At this stage it looks a little complex to get the work around active. Thanks for trying I have a time frame to get the current coding completed so I will turn to data entry then review & come back to this forum at a later stage.

    Once again thank you for your time I appreciate the time & effort that has gone into the query.

    Regards,

    Michael

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1