+ Reply to Thread
Results 1 to 4 of 4

Copy cells based on value of another cell

  1. #1
    Registered User
    Join Date
    01-03-2013
    Location
    HK
    MS-Off Ver
    Excel 2010
    Posts
    35

    Copy cells based on value of another cell

    Please help me write a macro to solve:
    Have a table of values B3:G31. If any row that the value of cells between cell A3:A31 = 5 copy that row to I3:O3
    file is attached.
    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Copy cells based on value of another cell

    Please Login or Register  to view this content.
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565

    Re: Copy cells based on value of another cell

    As there are 6 columns in the range B:G shouldn't the output be I:N, not I:O?

    Based on that assumption, the following will do the job:

    Please Login or Register  to view this content.
    Regards,

    Robert
    Last edited by Trebor76; 10-21-2013 at 01:35 AM.
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  4. #4
    Registered User
    Join Date
    01-03-2013
    Location
    HK
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: Copy cells based on value of another cell

    Thank you so much. Yes it should be I:O

+ 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. [SOLVED] Copy cells based on another cell
    By shronk in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-03-2013, 01:19 PM
  2. Need to copy certain cells based on an entry in another cell
    By loser420 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-11-2013, 10:24 AM
  3. [SOLVED] Macro to copy cells based on the value of another cell
    By raptor_k7 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-17-2012, 11:54 AM
  4. Copy multiple cells based on another cell's value
    By vedranc in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 10-18-2010, 06:00 PM
  5. Macro to copy cells based on the value of another cell
    By neodjandre in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-19-2007, 12:12 PM

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