+ Reply to Thread
Results 1 to 6 of 6

extract few columns based on condition and paste on another worksheet

  1. #1
    Registered User
    Join Date
    08-10-2016
    Location
    Ireland
    MS-Off Ver
    2013
    Posts
    67

    extract few columns based on condition and paste on another worksheet

    Hi folks,

    I am quiet new to macros, reaching out to the experts community for the support.

    Please see attached the sample data. I have all the data in "Sheet1". I need on the click of "Projects Overdue" button at "Sheet2", the query will extract all the overdue projects information (columns C, D & F) from "Sheet1" and paste the data in the table highlighted on "Sheet2". Hope I am clear with the requirement.

    Many Many thanks in advance....

    Kind Regards,
    Abhi
    Attached Files Attached Files

  2. #2
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: extract few columns based on condition and paste on another worksheet

    Hi Abhi,

    Try below code ...
    Please Login or Register  to view this content.
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

  3. #3
    Registered User
    Join Date
    08-10-2016
    Location
    Ireland
    MS-Off Ver
    2013
    Posts
    67

    Re: extract few columns based on condition and paste on another worksheet

    Hi nankw83,

    Thank you, Thank you, Thank you.

    This code is absolutely working fine. The only thing, if I also want to place a filter on the estimated savings i.e. only to pull out top 5 (higher values) on "sheet2".

    Apologies for not mentioning the first time as just now realized after getting the big list extracted.

    Kind Regards,
    Abhi

  4. #4
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: extract few columns based on condition and paste on another worksheet

    Try below code based on you sample file ...
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-10-2016
    Location
    Ireland
    MS-Off Ver
    2013
    Posts
    67

    Re: extract few columns based on condition and paste on another worksheet

    Thank you nankw83. This helps and suffice the purpose.

    Regards,
    Abhi

  6. #6
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: extract few columns based on condition and paste on another worksheet

    Glad to help & thanks for the added Rep.

    If that takes care of your question, please take a moment & mark this thread as [SOLVED] from the Thread Tools above your first post

+ 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. Copy values from selected columns to another worksheet based on one condition
    By PatNecom in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-10-2019, 07:50 AM
  2. Replies: 0
    Last Post: 05-14-2019, 03:53 AM
  3. Copy/Paste Columns from Multiple Worksheets based on Headers into new Worksheet
    By casper3043 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-01-2015, 03:06 PM
  4. [SOLVED] Cut and Paste Rows from one worksheet to another based on criteria in two columns
    By GatorsBucs in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-08-2013, 12:19 PM
  5. Replies: 3
    Last Post: 11-29-2012, 06:05 AM
  6. Select worksheet based on condition & populate cell based on condition
    By beth1069 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-19-2011, 01:27 PM
  7. macro to extract info from columns and paste to new worksheet
    By fabrecass in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-14-2011, 03:08 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