+ Reply to Thread
Results 1 to 4 of 4

Function that copies single row as many times as defined

  1. #1
    Registered User
    Join Date
    11-13-2012
    Location
    Finland
    MS-Off Ver
    Excel 2007
    Posts
    2

    Function that copies single row as many times as defined

    Hi, all

    I have been trying to create an excel sheet for our post office to help their work. The plan is simply create a function or macro that copies the data from a single row as many times as defined in the Quantity-cell. Please see the example-excel. I think the best way is that it copies the new data to a totally new sheet.

    Thanks already!


    Example.xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    03-17-2012
    Location
    Warsaw, Poland
    MS-Off Ver
    2007/2010
    Posts
    555

    Re: Function that copies single row as many times as defined

    Please Login or Register  to view this content.
    Don't think the desired task is possible with a function.
    If you think that my answer was helpful, please click on the "Add to this user's Reputation" button.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Function that copies single row as many times as defined

    here you go with a function and a single helper column,see sheet 1 or sheet 2
    Attached Files Attached Files
    Last edited by martindwilson; 11-19-2012 at 07:21 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    11-13-2012
    Location
    Finland
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Function that copies single row as many times as defined

    Got it working, thank you so much!

+ 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