+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Copy data from a cell based on the colour of the cell and paste into another cell

  1. #1
    Registered User
    Join Date
    07-14-2010
    Location
    Worcester, England
    MS-Off Ver
    Excel 2007
    Posts
    4

    Copy data from a cell based on the colour of the cell and paste into another cell

    Hi - I'm new to this forum and to Excel macros in general so apologies if my problem is not clear and forum etiquette poor.

    Basically what I want to do is automatically search the range M3:X50 for the colour orange and copy the data contained in these orange cells into the column Y (from Y3 down) using a macros or other excel function.

    I have attached a sample spreadsheet to illustrate what I want to do.

    Thank you in advance.

    David
    Attached Files Attached Files
    Last edited by djknott; 07-15-2010 at 02:21 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Copy data from a cell based on the colour of the cell and paste into another cell

    Color cell Y1 to whatever color you want to collect from the range of grades, then click the button to collect them. Here's the code:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    07-14-2010
    Location
    Worcester, England
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Copy data from a cell based on the colour of the cell and paste into another cell

    Thank you very much for this response - the macro does excatly what I need it to do

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Copy data from a cell based on the colour of the cell and paste into another cell

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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