+ Reply to Thread
Results 1 to 7 of 7

Copy specific column data from one sheet to another sheet using Certain filter Criteria

  1. #1
    Forum Contributor
    Join Date
    11-19-2015
    Location
    India
    MS-Off Ver
    excel 2013
    Posts
    124

    Copy specific column data from one sheet to another sheet using Certain filter Criteria

    Hello everyone!
    Need your expert help!
    I want to copy specific column data from Owner Database sheet to output sheet using Certain filter Criteria the criteria present on Filter Criteria sheet.
    Macro first apply filter on Owner Database sheet then look Criteria from Filter Criteria sheet.
    e.g = For Tenant ID 1
    1st filter Criteria should "city"= Noida and apply this Criteria on Column T of Owner Database Sheet.
    2nd Filter Criteria "RENT_SELL_LEASE"= P and apply this Criteria on Column M of Owner Database Sheet.
    3rd Filter Criteria "property type,property type1,property type2"=(Residential Apartment,Independent/Builder Floor,Serviced Apartment) and apply this Criteria on Column P of Owner Database Sheet.
    4th Filter Criteria "Minimum budget to Maximum Budget"=(7000 to 9000) and apply this Criteria on Column N of Owner Database Sheet.
    5th Filter Criteria "Locality" (Range not constant) apply this Criteria on Column U of Owner Database Sheet.
    After that copy filter data from these specific column from Owner Database Sheet then paste in Output sheet. Then follow the same procedure for next Tenant ID.

    Please find the attached sample file.

    here is the macro which i have created to automate this process but I stuck.

    Regards,

    Xlhelp7


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

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Copy specific column data from one sheet to another sheet using Certain filter Criteri

    Please Login or Register  to view this content.
    Kind regards
    Leo
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    11-19-2015
    Location
    India
    MS-Off Ver
    excel 2013
    Posts
    124

    Re: Copy specific column data from one sheet to another sheet using Certain filter Criteri

    Hi Leo,

    Thank you for your reply.

    I really apreciate your hard work producing this Amazing code.

    when i run this code adding some more data in Owner Database sheet the output data which i received did not match the Criteria.

    I have added new Expected Output sheet where you can see output result.

    Please find the attached file.

    Regards,

    Xlhelp7
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Copy specific column data from one sheet to another sheet using Certain filter Criteri

    The criteria are located @ row 8
    only criteria i see in this row =City Noida, so normal it gives all records with Noida

    Kind regards
    Leo

  5. #5
    Forum Contributor
    Join Date
    11-19-2015
    Location
    India
    MS-Off Ver
    excel 2013
    Posts
    124

    Re: Copy specific column data from one sheet to another sheet using Certain filter Criteri

    Hi Leo,

    Thank you for your reply.

    I have created a macro by recording but it is working only for 5 Tent ID but there may be more than 5 Tent ID's so i want to run this macro in loop.

    I Have no Idea how to create a loop.

    Request you to please help!

    Regards,

    Xlhelp7
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Copy specific column data from one sheet to another sheet using Certain filter Criteri

    Maybe

    Please Login or Register  to view this content.
    Kind regards
    Leo
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    11-19-2015
    Location
    India
    MS-Off Ver
    excel 2013
    Posts
    124

    Re: Copy specific column data from one sheet to another sheet using Certain filter Criteri

    Hi Leo,
    Thank you for your reply - much appreciated.
    Leo, that is exactly what I am looking for. Works a treat. Thank you!

    Regards,

    Xlhelp7

+ 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 data based on criteria and copy to another sheet
    By anbarasi_r in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-23-2015, 09:56 PM
  2. Replies: 1
    Last Post: 12-12-2014, 06:46 AM
  3. Replies: 0
    Last Post: 07-16-2013, 05:22 AM
  4. Replies: 2
    Last Post: 02-14-2013, 11:06 PM
  5. [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
  6. Replies: 4
    Last Post: 08-29-2012, 10:32 AM
  7. Copy specific data from one sheet to another sheet if certain criteria
    By jscorsone in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-13-2010, 02:11 PM

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