+ Reply to Thread
Results 1 to 1 of 1

Copy data from one sheet to another

  1. #1
    Registered User
    Join Date
    02-25-2014
    Location
    Ottawa, Canada
    MS-Off Ver
    Excel 2010
    Posts
    1

    Question Copy data from one sheet to another

    Hello guys. I need your help with writing a macro. I have an excel file that has 2 sheets:

    Sheet1 has 3 columns: item (column A), quantity(column B), details (column C)
    Sheet 2 has 2 columns: item (column A), details (column B)

    I want to copy the data from sheet1 to sheet2 like this:

    If item x has a quantity of y in sheet1, then I want to copy the item x and paste it y times in sheet2.
    When pasting the item x in sheet2, y amounts of times, i don't want to include the quantity column.

    Please see the attached image. Thank you in advance! You help will be greatly appreciated.
    Pic.png

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Copy data from one sheet to another

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.

    http://www.excelforum.com/excel-prog...o-another.html
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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: 1
    Last Post: 06-05-2013, 07:03 AM
  2. Replies: 0
    Last Post: 05-21-2013, 03:09 PM
  3. Copy Data from a fixed form of data sheet into a master excel sheet.....
    By sirimhk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-18-2012, 08:48 AM
  4. [SOLVED] Copy and paste data from sheet 2 to sheet 1 based on specific criteria on sheet 1
    By VBADUD in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2012, 04:18 AM
  5. Copy Data from Multiple weekly Sheet to Monthly sheet and filter the data
    By santhoshjoseph in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-06-2012, 07:07 AM

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