+ Reply to Thread
Results 1 to 5 of 5

Formatting

Hybrid View

  1. #1
    Registered User
    Join Date
    02-16-2010
    Location
    Tallinn, Estonia
    MS-Off Ver
    Excel 2003
    Posts
    11

    Formatting

    I need to export products into another shop, now the attributes are as follows:

    code size qty size qty size qty
    3456 M 5 L 5 XL 5

    In the new shop it should be, each on different row:

    code size qty
    3456 M 5
    3456 L 5
    3456 XL 5

    Is there any way doing it automatically to avoid doing it 1 by one? Thanks for you help!

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Help needed in formatting

    See attached. I put an example in Sheet 1 and the new table in Sheet 2. hth.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-16-2010
    Location
    Tallinn, Estonia
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Formatting

    Thank you very much indeed! You saved me a lot of work!

  4. #4
    Registered User
    Join Date
    02-16-2010
    Location
    Tallinn, Estonia
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Formatting

    Hello again. I can't figure out how to make it that it will fetch data from sheet 1 till column O (now it is till column G). Would you like to fix this? Thank you!

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Formatting

    Hi,

    Just change the references to column G to O in the formulas.

    this in cell A3, copied down

    =IF(COUNT(INDEX(Sheet1!$B:$B,MATCH(A2,Sheet1!$A:$A,0)):INDEX(Sheet1!$O:$O,MATCH(A2,Sheet1!$A:$A,0)))>COUNTIF($A$1:$A2,A2),A2,INDEX(Sheet1!$A:$A,MATCH(A2,Sheet1!$A:$A,0)+1))
    this in cell B2, copied down

    =INDEX(Sheet1!$A:$O,MATCH($A2,Sheet1!A:A,0),COUNTIF($A$2:$A2,$A2)*2)

    this in cell C2, copied down

    =INDEX(Sheet1!$A:$O,MATCH($A2,Sheet1!A:A,0),COUNTIF($A$2:$A2,$A2)*2+1)

+ 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