+ Reply to Thread
Results 1 to 3 of 3

Copy data from one cell based on color of another cell to a different worksheet

Hybrid View

  1. #1
    Registered User
    Join Date
    01-30-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    Copy data from one cell based on color of another cell to a different worksheet

    I have an Excel 2010 spreadsheet consisting of many worksheets (20 or so). Each of these worksheets contain detail level data regarding different projects. One of the columns in these worksheets is the 'Status' column (column F). There is conditional formatting on this column where if the text is 'G' then change background to a green color, 'Y'=yellow, 'R'=Red and 'U'=Grey.

    The first worksheet is a summary sheet that I would like to pull information from each of the detail worksheet's columns B, D, E, G and H if the status column (Column F) is 'R' or 'Y'.

    The number of rows in the detail worksheet can change each week (as few as 0 and as many as 100)

    I am not versed in VBA so if there is a VBA solution to this, then I will need help developing it.

    Any help would be greatly appreciated.

    Jeff

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Copy data from one cell based on color of another cell to a different worksheet

    Hi and welcome to the forum

    Hard to offer specific suggestions without seeing samples of what you are working with, but maybe take a look at using sumif() or countif() or something along those lines?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    01-30-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Copy data from one cell based on color of another cell to a different worksheet

    FDibbins,

    Thank you for your reply, however, the countif and sumif (from what I can see) will provide a numeric value to how many rows meet the condition. I am looking to copy certain cells from those rows to another worksheet based on the color of a cell.

    Thanks, Jeff

+ 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 data from a copied worksheet to another worksheet based on cell reference
    By tantcu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-08-2013, 02:18 PM
  2. [SOLVED] in need of macro to copy a row of data to another sheet based on text color of one cell
    By fredderf81 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-23-2013, 01:11 PM
  3. Copy cell data and insert into another worksheet based upon cell
    By cory99 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-22-2013, 08:37 AM
  4. [SOLVED] Copy rows from my main worksheet to another worksheet based on data in one cell
    By gcol in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-08-2012, 05:12 AM
  5. Replies: 2
    Last Post: 11-08-2011, 11:10 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