+ Reply to Thread
Results 1 to 3 of 3

copy cells by criteria

  1. #1
    Forum Contributor
    Join Date
    04-21-2010
    Location
    Budapest
    MS-Off Ver
    Excel 2010
    Posts
    155

    copy cells by criteria

    I would need a macro where it would copy some cells into a new range by a given criteria.
    I also attached a sample file where you can see more clearly the situation.

    If value from column K is greater than 0 it can copy some cells from the same row where the criteria was right to a new range (O30:V100).

    I tried to use the following forumula without the required result:
    "[O30:O100] = [IF(K2:K1000>0,A2:A1000,"")]"
    Attached Files Attached Files
    Last edited by ccsmith; 10-14-2010 at 03:36 AM.

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: copy cells by criteria

    Please Login or Register  to view this content.
    or
    Please Login or Register  to view this content.
    Last edited by snb; 10-13-2010 at 07:29 AM.



  3. #3
    Forum Contributor
    Join Date
    04-21-2010
    Location
    Budapest
    MS-Off Ver
    Excel 2010
    Posts
    155

    Re: copy cells by criteria

    Thank you for the solution. It is working.

+ 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