+ Reply to Thread
Results 1 to 6 of 6

Creating a new Table based on Conditional Formatting in another table

  1. #1
    Registered User
    Join Date
    06-02-2010
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003
    Posts
    22

    Creating a new Table based on Conditional Formatting in another table

    Hi,

    I have a talbe in a sheet with conditional formatting highlighting cells over a certain value (turns out there are 7 highlighted cells). I want to extract the whole row that those highlighted cells are in to a new table in a different sheet.

    I've been trying to figure this out for a bit too long now, so here i am. Thanks in advance for what I'm sure is going to be an extremely simple method.

    Josh
    Last edited by NBVC; 06-07-2010 at 07:57 AM.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Creating a new Table based on Conditional Formatting in another table

    Hi,
    as your conditional formatting is based on a condition, use that same condition to extract your data, regardless of the formatting.
    You can attach a sample workbook so that we can have a look

  3. #3
    Registered User
    Join Date
    06-02-2010
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Creating a new Table based on Conditional Formatting in another table

    here's an extract.

    Please Login or Register  to view this content.
    I want to extract every row that has a value over 6.3 in column A. so my result in another sheet would be

    Please Login or Register  to view this content.
    Cheers

  4. #4
    Registered User
    Join Date
    06-02-2010
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Creating a new Table based on Conditional Formatting in another table

    Hi ... still hoping for some help on this. Thanks.

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Creating a new Table based on Conditional Formatting in another table

    Say your actual table starts in Row2 of Sheet1 and occupies A2:K7, then in L2 enter:

    =IF(A2>6.3,COUNT(L$1:L1)+1,"") and copy down the table.

    In M2, enter =Max(L:L)

    Then in Sheet2, A2 enter:

    =IF(ROWS($A$1:$A1)>Sheet1!$M$2,"",INDEX(Sheet1!A:A,MATCH(ROWS($A$1:$A1),Sheet1!$L:$L,0)))

    and copy down as far as you want and across to column K.
    Attached Files Attached Files
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  6. #6
    Registered User
    Join Date
    06-02-2010
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: Creating a new Table based on Conditional Formatting in another table

    Thanks for that NBVC

+ 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