+ Reply to Thread
Results 1 to 5 of 5

Copy data if value on a fix column met

  1. #1
    Registered User
    Join Date
    08-27-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    26

    Copy data if value on a fix column met

    Hello everyone,

    I was wondering if anyone in the forum can help me with a vba code for this problem below:

    i have a dataset A1:E9, where A2:A9 is the object names and the remaining column (B2:E9) is the value of the object in the same row.
    The object ID in A2:A9 has various names, and i want to copy certain data value from B2:E9, for only certain object name.
    On the file attached i only want to copy data in Column C & D ( in the same row) of certain object name & then paste the data in to different working books.

    I would really apprecaiate your help & thanks in advance
    Miners
    Attached Files Attached Files
    Last edited by miners; 11-05-2009 at 05:26 AM.

  2. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Copy data if value on a fix column met

    You can do this with advanced filter
    Attached Files Attached Files
    Last edited by rwgrietveld; 11-04-2009 at 04:11 AM.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  3. #3
    Registered User
    Join Date
    08-27-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: Copy data if value on a fix column met

    Thanks for your response rwgrietveld,

    since i'm a newbie to VBA, could you plz give me the example solution (VBA code w/ advance filter) for the file i had attached

    Thanks,
    Miners

  4. #4
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Copy data if value on a fix column met

    No VBA requird. Is my book2.xls not clear?
    See data->Filter->Advanced Filter and copy the settings I've made.

  5. #5
    Registered User
    Join Date
    08-27-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: Copy data if value on a fix column met

    Thanks rwgrietveld,

    It's clear now.

    Miners

+ 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