+ Reply to Thread
Results 1 to 2 of 2

Generate sheet with lots of variation

  1. #1
    Registered User
    Join Date
    10-15-2015
    Location
    Colchester, UK
    MS-Off Ver
    Windows 365
    Posts
    10

    Generate sheet with lots of variation

    Good afternoon everyone, thank you for taking the time to look at this
    Here is my issue, I need to upload my stock to our Shopify site.
    The problem is it has to be in a specific format for it to work correctly
    I have many 100's of t shirts that have variations as in
    small medium large etc
    black, white, navy blue etc
    And each product has its own specific SKU, i.e.
    3957 SML WHT
    3957 MED WHT
    3957 LG WHT
    3957 XL WHT
    3957 2XL WHT
    3957 3XL WHT
    3957 4XL WHT
    3957 5XL WHT
    As you can see the common denominator here is the text after the number, so the number 3957 with have many variations and all are different
    On sheet 1 I have my numbers which are unique, can i generate on sheet 2 the corrosponding codes
    I have attached a workbook with what i am looking for
    Not sure if I managed to add an attachment...
    Thank you
    Kim
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Generate sheet with lots of variation

    For this proposal to work lists of sizes and colors need to be produced in an abbreviated form as in column J of the Sheet to Upload.
    The lists of SKU's, Sizes and Colors are shown in columns L:N on the Stock Numbers sheet.
    S1:T1 display the number of items in the Sizes and Colors columns using: =COUNTA(M2:M18)
    R1 displays the number of times each SKU should be shown using: =S1*T1
    R2:R545 are populated with the SKU's using: =INDEX(L$2:L$18,ROUNDUP(ROWS(A$1:A1)/R$1,0))
    S2:S545 are populated with the sizes using: =INDEX(M$2:M$18,IF(MOD(ROWS($A$1:$A1),S$1)=0,S$1,MOD(ROWS($A$1:$A1),S$1)))
    T2:T545 are populated with the colors using: =INDEX(N$2:N$18,IF(MOD(ROUNDUP(ROWS(A$1:A1)/S$1,0),T$1)=0,T$1,MOD(ROUNDUP(ROWS(A$1:A1)/S$1,0),T$1)))
    The Output column is populated using: =R2&" "&S2&" "&T2
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Replies: 3
    Last Post: 09-26-2018, 07:34 AM
  2. [SOLVED] PLEASE help with custom VBA variation of previous sheet...
    By jawnmallon in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-28-2016, 08:54 PM
  3. BIG sheet with lots and lots of data to filter...
    By Amatør in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-25-2016, 08:26 AM
  4. Replies: 1
    Last Post: 02-16-2016, 07:51 PM
  5. Excel Variation Generate
    By Pavel001 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-09-2012, 12:52 PM
  6. Lots of graphs, lots of text boxes needed
    By sarasbluegroove in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-28-2011, 09:11 AM
  7. Can I line up lots of controls on a sheet at once?
    By Robert Hargreaves in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-01-2005, 06:05 PM

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