+ Reply to Thread
Results 1 to 4 of 4

Create Acronym from Phrases or Extract First Three Characters from One Word

  1. #1
    Registered User
    Join Date
    12-22-2018
    Location
    Sandy, Utah
    MS-Off Ver
    Office 365
    Posts
    1

    Create Acronym from Phrases or Extract First Three Characters from One Word

    This thread is cross-posted

    I am in the process of creating a SKU generator for my Shopify products. I want the logic for the SKU's to follow the below template.

    Example Product 1:
    • Vendor: Zutter
    • Name: Shirley Brushed Waffle Tunic
    • Color: Light Blue/Red/White
    • Size: X Large

    Example SKU 1:
    • ZUTT-SBWT-LBRW-XL

    Example Product 2:
    • Vendor: Love Tree
    • Name: Transition Cardigan
    • Color: Light Blue
    • Size: Small

    Example SKU 2:
    • LT-TC-LB-S

    Things to Note:
    • Ideally, I would like to have the formulas reference the Codes tab and use the respective ID value for the adjacent matching value within the generated SKU's (i.e. the code for Booties is Btie).
    • Product names variables should be generated as acronyms (i.e. Shirley Brushed Waffle Tunic would output as SSBW)
    • Characters for each product variable should max at 4, using the first words in the text string to generate the variable acronym (i.e. Shirley Striped & Brushed Waffle Tunic would output as SSBW)
    • In the event of a duplicate SKU, a numerical identifier should be appended to the duplicate (i.e. LT-TC-LB-S and LT-TC-LB-S-1)
    • I have too many colors in my shop to create ID codes. So, we'll just need to generate an acronym to accomplish this. if a color is a phrase (i.e. Light Blue), the acronym would be LB. But if it is a multi-color option, the acronym should encompass all color options (i.e. Light Blue/Red/Green would be LBRG). I'd imagine that the formula needs to have an OR condition that looks for " " or "/" as a possible separator in order to accomplish this.
    • Variables can be alpha-numerical and must be separated by hypen's (-).
    Last edited by 6StringJazzer; 12-27-2018 at 05:35 PM. Reason: Moderator added cross-post link

  2. #2
    Registered User
    Join Date
    02-11-2018
    Location
    Ohio
    MS-Off Ver
    2016
    Posts
    16

    Re: Create Acronym from Phrases or Extract First Three Characters from One Word

    do you have excel 2016 or later?

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,696

    Re: Create Acronym from Phrases or Extract First Three Characters from One Word

    Welcome to the Forum incrediblehabits!

    As a new member, please take the time to review our rules. There aren't many, and they are all important.

    Rule #3 requires you to post a link if you post the same question on another site. Please edit your first post (or add a new post) to include a link to the URL on Mr. Excel where you have posted the same question. Read this to understand why we ask you to do this. (Mr. Excel has the same rule.)

    This thread should receive no further responses until cross-post links are provided

    Moderator added link to post #1 for new member
    Last edited by 6StringJazzer; 12-27-2018 at 05:36 PM.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Registered User
    Join Date
    02-11-2018
    Location
    Ohio
    MS-Off Ver
    2016
    Posts
    16

    Re: Create Acronym from Phrases or Extract First Three Characters from One Word

    being answered on the other post...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Trying To Extract Multiple, Same Phrases Out Of A Cell
    By ExcelStudent751 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-19-2018, 12:15 PM
  2. [SOLVED] Extract unigue phrases from range of strings and count them
    By PaulM100 in forum Excel General
    Replies: 5
    Last Post: 05-17-2018, 10:10 AM
  3. [SOLVED] Extract a word starts with a list of characters from a string
    By suchetherrah in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-03-2016, 09:18 AM
  4. [SOLVED] VBA code required to Extract the content between 2 words/Phrases
    By mchilapur in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-13-2015, 01:20 AM
  5. [SOLVED] How to read Excel or Word file (Multi-Word phrases) into Array
    By pradeepdeepu_001 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-15-2013, 03:02 AM
  6. extract 3 letter acronym and numbers from text
    By bisntrix in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-20-2012, 11:29 PM
  7. How do I count a named range for a specific word or acronym?
    By brandyb in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-04-2005, 03:55 PM

Tags for this Thread

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