+ Reply to Thread
Results 1 to 6 of 6

Copy data to other sheet on basis of condition

  1. #1
    Registered User
    Join Date
    11-02-2020
    Location
    france
    MS-Off Ver
    2013
    Posts
    2

    Copy data to other sheet on basis of condition

    I have 3 sheets in a workbook named Master, Group1, Group2
    In master sheet data is spread from column A to column I
    I need to copy data from master sheet to Group1 and Group2 on basis of following conditions

    i)All such rows in which the value in cells in column H and I is False,
    Data to be copied to sheet Group1. Data in column H and I is to be excluded while copying the data, only data in columns A to G is to be copied to sheet Group1, and in sheet Group1 the data is to be placed in Column A to Column G.

    ii)All such rows in which the value in cells in column H and I is
    a) True and False respectively
    b)True and True respectively
    Data to be copied to sheet Group2. Data in column H and I is to be excluded while copying the data, only data in columns A to G is to be copied to sheet Group2, and in sheet Group2 the data is to be placed in Column A to Column G.
    iii)All such rows in which the value in cells in column H and I is False and True respectively
    Data from column A to G is to be copied to column P to column V in sheet Group 2.
    Attached Files Attached Files
    Last edited by valkrish; 11-02-2020 at 04:12 PM.

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Copy data to other sheet on basis of condition

    For item ii, do you want both a and b? Where do you want to place the b data below the a data?

  3. #3
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Copy data to other sheet on basis of condition

    I assumed you wanted the a data below the b data.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-02-2020
    Location
    france
    MS-Off Ver
    2013
    Posts
    2

    Re: Copy data to other sheet on basis of condition

    Need to exclude the header row while copying.Need the code to copy data from 2nd row onwards and paste in 2nd row onwards.thanks

  5. #5
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Copy data to other sheet on basis of condition

    Try it now

    Please Login or Register  to view this content.

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Copy data to other sheet on basis of condition

    Try
    Please Login or Register  to view this content.

+ 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: 5
    Last Post: 10-11-2020, 07:55 AM
  2. [SOLVED] Macro who copy the data from one sheet to another sheet basis of 2 other column cell value
    By Manish_Gupta in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-23-2015, 12:47 PM
  3. [SOLVED] Macro who copy the data from one sheet to another sheet basis of 2 other column cell value
    By Manish_Gupta in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-23-2015, 09:49 AM
  4. [SOLVED] How to develop a macros to auto copy and save data on series basis to another sheet
    By warriorpoet7176 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-06-2014, 05:21 AM
  5. VBA CODE to Copy Paster data from one sheet to other sheet on a daily basis
    By aravindkm in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-26-2013, 12:06 PM
  6. Copying the data from one sheet to another on the basis of yes/no condition
    By shantnuchaurasia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-25-2013, 12:32 PM
  7. copy the data on basis of ID match in a Single sheet
    By ravinder_tigh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-15-2009, 07:09 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