+ Reply to Thread
Results 1 to 4 of 4

Macro to Copy data from one sheet and paste to another sheet based on a condition

  1. #1
    Registered User
    Join Date
    03-19-2013
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    11

    Macro to Copy data from one sheet and paste to another sheet based on a condition

    Hi Everyone,

    I am new to Macro and need a help for creating it. Below is the scenario.

    The Example sheet in the attachment has 2 tabs ALM and AIS and both the tabs having attribute name,attribute definition, table & column & transformation logic for a particular source system. Apart from this it also has EDR & EDXF Schema details(Table & column name). The table name in EDXF has 2 tables(having suffix MONTH & DAY).

    The Desired Output sheet is the result which I need. I want that for attribute A1,A2 etc we should get one row(having details for A1) for each Table (MONTH & DAY) corresponding to source system SRC1 in tabs ALM & AIS.

    Please see the attachment "Desired Output" sheet which is the resultant sheet.

    Please refer the attachments for the scenario.

    Any Help or any direction would be highly appreciated.
    Attached Files Attached Files
    Last edited by SaurabhShri1; 03-20-2013 at 09:35 AM.

  2. #2
    Registered User
    Join Date
    03-19-2013
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Macro to Copy data from one sheet and paste to another sheet

    Any suggestion Guys...

  3. #3
    Registered User
    Join Date
    03-19-2013
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Macro to Copy data from one sheet and paste to another sheet

    I was looking for exactly the same thing and dug up a fair few orphaned threads from 2008 -

    Please Login or Register  to view this content.
    This is what I ended up using- there are probably more elegant ways of doing it, but this worked.

  4. #4
    Registered User
    Join Date
    03-19-2013
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Macro to Copy data from one sheet and paste to another sheet

    Thanks for Replying Johnny,
    But here in my case there is some condition which is shown in the attachments.
    Here I dont need to copy the contents (entirely) and paste it to another sheet.

+ 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