+ Reply to Thread
Results 1 to 10 of 10

conditional formating-file attached

  1. #1
    Forum Contributor
    Join Date
    09-13-2010
    Location
    Poland
    MS-Off Ver
    365
    Posts
    204

    conditional formating-file attached

    hi,

    pls see the file attached

    I need to make a macro that will paint the cells in one table, basing on conditional formating made in another table.
    Attached Files Attached Files
    Last edited by afgi; 11-09-2010 at 04:26 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    re: conditional formating-file attached

    hello,

    can you please explain why the "after" sheet cells are highlighted? Are there any rules? If so, can you tell us in simple words?

    cheers,

  3. #3
    Forum Contributor
    Join Date
    09-13-2010
    Location
    Poland
    MS-Off Ver
    365
    Posts
    204

    re: conditional formating-file attached

    hi,

    pink color is Conditional Foramting

    grey is just a "copy" of the ceels from conditional formating, 3th column. I need to move results of the conditional formating to the top left corner table.

    the bottom table, the one that has been formated in pink, is just a combine table made from 2 other worksheets (not included in the file enclosed - but it is not important for this theme) + the table from the top left corner. I just need to highlight the "ref&col" that has been used in two other workshhets.
    Last edited by afgi; 11-08-2010 at 04:46 AM.

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    re: conditional formating-file attached

    grey is just a "copy" of the ceels from conditional formating, 3th column
    No, it's not. The values in column A have 6 digits. The values in F13:F22 have eight digits.

    Please explain what you want to do. I can't look inside your head.

  5. #5
    Forum Contributor
    Join Date
    09-13-2010
    Location
    Poland
    MS-Off Ver
    365
    Posts
    204

    re: conditional formating-file attached

    Dear Teylyn,

    pls see the table attached
    Attached Files Attached Files

  6. #6
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    re: conditional formating-file attached

    I still don't understand your highlights. You'll need to explain in words.

  7. #7
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    re: conditional formating-file attached

    This can be done with conditional formatting.

    Formula is:=
    Please Login or Register  to view this content.

    I have broken down the formula in this workbook to let you see how it works.
    This can be deleted whenever it suits you.

    Hope this helps
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  8. #8
    Forum Contributor
    Join Date
    09-13-2010
    Location
    Poland
    MS-Off Ver
    365
    Posts
    204

    re: conditional formating-file attached

    Dear Marcol,

    you are very close. what I need now, is a macro that will automatically "paint" cells A2-B11. cells to be painted have to be selected basing on conditional formating (pink cells) from cells F13-F22.

    pls work on worksheet "before". worksheet "after" is just to show you the final result I would like to achieve. many thanks

    MANY THANKS FOR YOUR HELP

  9. #9
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    re: conditional formating-file attached

    Try this macro
    Please Login or Register  to view this content.

    I have coloured your table in your "before" sheet yellow to better demonstrate the result of the macro, run the macro on this sheet as a test.

    How and when do you want to trigger the macro?
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    09-13-2010
    Location
    Poland
    MS-Off Ver
    365
    Posts
    204

    re: conditional formating-file attached

    dear Marcol,

    this works perfectly)

    MANY THANKS

+ 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