+ Reply to Thread
Results 1 to 3 of 3

Copy/Paste Row of Cell to Another Worksheet Based on Cell Color

  1. #1
    Registered User
    Join Date
    11-08-2011
    Location
    Chicago, Illinois
    MS-Off Ver
    Excel 2010
    Posts
    3

    Copy/Paste Row of Cell to Another Worksheet Based on Cell Color

    Hello,

    I have an inventory excel spreadsheet I'm working on. In a worksheet called 'Inventory Analysis' I have a column G (values starting at G5) with which I used conditional formatting to highlight the 5 lowest values. I want to create another worksheet in which I can utilize a formula to choose the 5 rows in 'Inventory Analysis' that have the highlighted cell color in column G (which is RGB (218, 238, 243)) and paste it to this new worksheet.

    The other thing is that I do not want to copy/paste every column of the selected row. Is there a simple way to do so via function? Or is VBA the way to go?


    Here is a sample function I used on a separate worksheet that is similar to what I want to do.

    =IFERROR(INDEX('Inventory Analysis'!B:B, MATCH(A5, 'Inventory Analysis'!A:A, FALSE), 1),"")

    I am wondering if there is a way to tweak this function so that it uses the cell color to find values.

    Thank you guys for any help.

  2. #2
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544

    Re: Copy/Paste Row of Cell to Another Worksheet Based on Cell Color

    Hi,

    It is not possible to include a cell-color into a regular Excel function. You need VBA anyway.

    Erik
    Just keep it simple !


    http://www.excelguide.eu
    In English as well as in Dutch

  3. #3
    Registered User
    Join Date
    11-08-2011
    Location
    Chicago, Illinois
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Copy/Paste Row of Cell to Another Worksheet Based on Cell Color

    Thank you very much for telling me! I am fairly new to excel so all the help is appreciated.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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