+ Reply to Thread
Results 1 to 4 of 4

macro to replicate rows

  1. #1
    Registered User
    Join Date
    10-15-2012
    Location
    calicut
    MS-Off Ver
    Excel 2003
    Posts
    7

    macro to replicate rows

    i have attached a sheet with input and the required output. in the input sheet, if the value is 1 for different modes of transport there is a choice for that mode for the corresponding id. i need output sheet where the number of rows for a particular id equals the number of choices for that id. i need another column in the output sheet( column heading "choice"), which gives the name of the choices selected by the id (ie, for id 108001, in input sheet walk,tw,cycle has value as 1..so in output sheet choices made are those(walk,tw,cycle))...travel time, distance and cost remains same for each id....pls help....
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: macro to replicate rows

    hi arya ravi, welcome to the forum. try:

    Please Login or Register  to view this content.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: macro to replicate rows

    Try

    Please Login or Register  to view this content.
    If you like my contribution click the star icon!

  4. #4
    Registered User
    Join Date
    10-15-2012
    Location
    calicut
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: macro to replicate rows

    thank u...it works...

+ 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