+ Reply to Thread
Results 1 to 8 of 8

Copy Conditional formatted Row to New Sheet

  1. #1
    Registered User
    Join Date
    12-12-2020
    Location
    Canada
    MS-Off Ver
    2019
    Posts
    3

    Copy Conditional formatted Row to New Sheet

    Hello and thank you for your help

    I am trying to copy conditionally formatted colored rows that are the result from a search cel(C2) into another sheet so that only the rows identified as colored in orange(#FFC000-R:255,G:192,B:0)
    are copied to the new sheet..
    Any help would be greatly appreciated as I have been scratching my head with this and am really new to the process..I have attached a sample of the workbook
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Copy Conditional formatted Row to New Sheet

    You could put this formula in cell I20 on Sheet1:

    =IF(ISNUMBER(SEARCH($C$2,C20)),MAX(I$19:I19)+1,"-")

    Copy this down to the bottom of your list. Then, with your column headings copied from A19:H19 of Sheet1 into Sheet2 on row 1, you can have this formula in A2 on Sheet2:

    =IFERROR(INDEX(Sheet1!A:A,MATCH(ROWS($1:1),Sheet1!$I:$I,0))&"","")

    Copy this across to H2, then copy those formulae down as far as you think you need them.

    Hope this helps.

    Pete

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Copy Conditional formatted Row to New Sheet

    You could filter by color for the conditional formatting color and copy the results to a new sheet.
    If posting code please use code tags, see here.

  4. #4
    Forum Contributor
    Join Date
    08-26-2016
    Location
    UK
    MS-Off Ver
    O365
    Posts
    260

    Re: Copy Conditional formatted Row to New Sheet

    First put an Autofilter in which includes all the headers you want, down to the bottom row of the table (normally you'd just need to click the funnel (filter) icon in the Sort & Filter section of the Data tab of the ribbon and it would select the whole table but you've got lots of blank rows so you have to select the full extent of the table first then click the Filter icon. Then you can right-click any one of the orange cells and choose Filter, then Filter by selected cell's colour, then you can select all the orange cells, copy and paste as usual.

  5. #5
    Registered User
    Join Date
    12-12-2020
    Location
    Canada
    MS-Off Ver
    2019
    Posts
    3

    Re: Copy Conditional formatted Row to New Sheet

    Pete is there anyway you could add this to the sample workbook I sent and send it back to me.
    thanks for your help all!

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Copy Conditional formatted Row to New Sheet

    Sure thing - file attached.

    Pete
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-12-2020
    Location
    Canada
    MS-Off Ver
    2019
    Posts
    3

    Re: Copy Conditional formatted Row to New Sheet

    thank you soo much...
    I really appreciate your help

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Copy Conditional formatted Row to New Sheet

    You're welcome.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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. Replies: 10
    Last Post: 08-17-2020, 02:33 AM
  2. Replies: 1
    Last Post: 11-04-2016, 08:21 AM
  3. Macro to copy dated items on one sheet to formatted calendar on second sheet
    By Ruutintooten in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-05-2016, 12:41 AM
  4. Copy formatted cells into another sheet
    By vicentiu in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-25-2015, 06:30 AM
  5. Replies: 6
    Last Post: 04-10-2013, 11:02 PM
  6. How to Copy a Formatted Row into a Protected Sheet
    By llenger1 in forum Excel General
    Replies: 0
    Last Post: 04-03-2010, 10:20 AM
  7. copy a formatted cell to another sheet as text without format
    By loliemargaret in forum Excel General
    Replies: 4
    Last Post: 10-06-2005, 02:05 PM

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