+ Reply to Thread
Results 1 to 1 of 1

Macro to filter data and copy the data's from multiple columns based on the criteria

  1. #1
    Registered User
    Join Date
    01-22-2014
    Location
    Dresden, Germany
    MS-Off Ver
    Excel 2007
    Posts
    2

    Macro to filter data and copy the data's from multiple columns based on the criteria

    Hi,
    I am trying to write a macro which can do the following work:

    I have a worksheet of multiple column's. In every column there are thousand number of data's. I have to filter the columns and copy the data's from 4 columns. The copying showed follow some rules. For example, we can assume we have ar1 = [{"One", "Two", "Three", "Four"}] in column A and a 2nd array ar2 = [{"shawn", "shakahwat", "millat", "nipun", "nipu", "bappy"}] in column D. Now what I want it is, at first the macro will select criteria one from ar1 and then it will select shawn from ar2. After that it will copy the filtered data to a new sheet with the column header. We can also assume the header of column A is number and column D is name. However, now it will select shakahwat from ar2 and again copy the data's to the end of the new sheet data's. One by one it will follow the other criteria's of ar2 and do the same work. When ar2 is finish it will then select the 2nd criteria of ar1 and do the work in the same way as before.

    I can attache an example with the new sheet as it showed be look like after running the macro.
    Attached Files Attached Files

+ 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. Filter Excel Data using vba multiple criteria multiple columns
    By pmyk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-28-2013, 01:32 AM
  2. [SOLVED] Filter Data based upon multiple criteria and counting the data
    By Acidking in forum Excel General
    Replies: 5
    Last Post: 06-13-2013, 09:42 PM
  3. Need VBA help to filter and copy data based on specific criteria
    By astrial in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-13-2013, 10:48 AM
  4. Macro to Segregate the data based on Multiple Criteria's in Multiple Columns -Challenging!
    By Novice_To_Excel in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-08-2012, 07:31 AM
  5. [SOLVED] Filter data based on multiple columns
    By [email protected] in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 04-28-2006, 11:50 AM

Tags for this Thread

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