+ Reply to Thread
Results 1 to 5 of 5

Duplicating rows and entering values based on multiple column inputs

  1. #1
    Registered User
    Join Date
    06-06-2019
    Location
    DTLA
    MS-Off Ver
    Excel for Mac 16.25
    Posts
    3

    Duplicating rows and entering values based on multiple column inputs

    Hi All,

    I have large data set of product SKU's that are organized with multiple sizes of the same item per row and need to break each sized item on to its own row with the correct corresponding size. I have attached screen shots for clarification. I'm really hoping you all can provide some assistance in method or formulas to achive this reorganization.

    Thanks so much!

    Original Format ("Google Doc" Sheet):
    Screen Shot 2019-06-06 at 6.23.52 PM.png

    Desired Format ("Shopify Format" Sheet):
    Screen Shot 2019-06-06 at 6.25.26 PM.png
    Attached Files Attached Files
    Last edited by Mr.Daddio; 06-07-2019 at 12:17 PM.

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Duplicating rows and entering values based on multiple column inputs

    Can you attach a sample workbook rather than a screenshot?

    Go Advanced -> Manage Attachments -> Upload

  3. #3
    Registered User
    Join Date
    06-06-2019
    Location
    DTLA
    MS-Off Ver
    Excel for Mac 16.25
    Posts
    3

    Re: Duplicating rows and entering values based on multiple column inputs

    Thanks! I have just uploaded the file above.

  4. #4
    Registered User
    Join Date
    06-06-2019
    Location
    DTLA
    MS-Off Ver
    Excel for Mac 16.25
    Posts
    3

    Re: Duplicating rows and entering values based on multiple column inputs

    Any help please?

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

    Re: Duplicating rows and entering values based on multiple column inputs

    This proposal employs a helper column (A) which may be moved and/or hidden for aesthetic purposes.
    A3:A20 are populated using: =COUNTIFS(B$3:B3,B3,C$3:C3,C3)
    The formula for the style and color columns is: =IFERROR(INDEX(B$3:B$20,AGGREGATE(15,6,(ROW($A$3:$A$20)-ROW($A$2))/($A$3:$A$20=1),ROWS($A$1:$A1))),"")
    The formula for size columns is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The formula for unit price is: =IF(B29="","",INDEX(K$3:K$20,AGGREGATE(15,6,(ROW(A$3:A$20)-ROW(A$2))/(B$3:B$20=B29)/(C$3:C$20=C29),1)))
    The formula for total value is: =IF(B29="","",K29*M29)
    The formula for total units is: =IF(B29="","",SUMIFS(M$3:M$20,B$3:B$20,B29,C$3:C$20,C29))
    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: 13
    Last Post: 02-11-2019, 06:46 PM
  2. [SOLVED] Add text values to multiple rows, based off one column
    By hambly in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-30-2016, 04:43 PM
  3. Formula to Sum 3 Column Values based on Multiple Criteria for Multiple Rows
    By RMerckling in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-19-2016, 07:46 PM
  4. Create new rows based on Multiple values in a column
    By bmj121 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-09-2015, 03:17 PM
  5. Generating column value based on multiple value inputs
    By Cleland in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-25-2014, 10:55 AM
  6. [SOLVED] macro which copies all column values based on specific string inputs
    By buntalan80 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-12-2012, 03:08 PM
  7. duplicating rows based on one column
    By mediadirect in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-07-2007, 03:49 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