Closed Thread
Results 1 to 12 of 12

Highlight cells which have no dependents or duplicate dependents

  1. #1
    Ali-imran
    Guest

    Highlight cells which have no dependents or duplicate dependents

    Dear All, Hi

    I have a two worksheets of workbook named LC worksheet and second one Account work sheet. Data from LC worksheet likned into the Account worksheet at Column K and Column V.

    I want to highlight cells in LC worksheet which have no dependents or have duplicate dependents at Column K and Column V into the Account worksheet. Built in trace dependents is time consuming and useless.

    File attached for your further understanding

    Please help me by coding macro or other feasible programming.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Highlight cells which have no dependents or duplicate dependents

    The key here is that you ask if there is a dependancy between sheets. Therefore you can look into the .FORMULA and see if there is the string:Account! (with exclamation mark !)
    Please Login or Register  to view this content.
    Last edited by rwgrietveld; 07-13-2009 at 02:53 AM.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  3. #3
    Ali-imran
    Guest

    Re: Highlight cells which have no dependents or duplicate dependents

    Actually I said I want those cells marked as green colours which are in the LC worksheet link not going on Account worksheet. Hopefully you understand my point.

    For example:

    column A column A
    12 89
    45 66
    66 12
    89
    78

    LC Worksheet Account Worksheet

    Tell me those macros which colour the amount of 45 at A2 and 78 at A5 of LC worksheet.

  4. #4
    Ali-imran
    Guest

    Re: Highlight cells which have no dependents or duplicate dependents

    Actually I said I want those cells marked as green colours which are in the LC worksheet link not going on Account worksheet. Hopefully you understand my point.

    For example:

    column A column A
    12 89
    45 66
    66 12
    89
    78

    LC Worksheet Account Worksheet

    Tell me those macros which colour the amount of 45 at A2 and 78 at A5 of LC worksheet. [(PLEASE SEE ATTACHED FILE)
    Attached Files Attached Files

  5. #5
    Ali-imran
    Guest

    Colour cells not having dependency

    Dear All

    I have two sheets like sheet1 and sheet2. In sheet1 data is linked to sheet2 in D and F column. In other words data is going to sheet2 in D and F column from sheet1.



    I want macro colour cells in sheet1 which is not going to sheet2 in D and F column.



    For example:

    Sheet1 Sheet2

    A A B C D F

    12 12

    89 89

    56

    78 78

    99 99

    33

    sheet1 sheet2



    Macro colour cell A3 and A6 because figure 56 and 33 not going to sheet2

  6. #6
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Re: Colour cells not having dependency

    For example:

    Sheet1 Sheet2

    A A B C D F

    12 12

    89 89

    56

    78 78

    99 99

    33

    sheet1 sheet2
    Please explain how this is helping us help you.

    If you could put together a sample workbook that'd be great and we'll help you out.

    mew!
    =IF(AND(OR(BLONDE,BRUNETTE,REDHEAD),OR(MY PLACE,HER PLACE),ME),BOW-CHICKA-BOW-WOW,ANOTHER NIGHT ON THE INTERNET)

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Colour cells not having dependency

    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  8. #8
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Highlight cells which have no dependents or duplicate dependents

    Where can I find all these numbers. Is it possible to send me a "short" version of your sheet. A2 for example gives me this: =C2-K2

    and your WB is asking for external data.

  9. #9
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Highlight cells which have no dependents or duplicate dependents

    Ali-imran 2 points:

    1 - do not create multiple threads on the same subject - I have merged your two separate threads

    2 - do not cross post in other forums without providing links

    Please ensure you take the time to read the Forum Rules before posting further.

  10. #10
    Ali-imran
    Guest

    Re: Highlight cells which have no dependents or duplicate dependents

    I have two sheets like sheet1 and sheet2. In sheet1 data is linked to sheet2 in C and D column. In other words data is going to sheet2 in C and D column from sheet1.

    I want macro colour cells in sheet1 which is not going to sheet2 in C and D column.

    For example:

    Sheet1
    A
    12
    89
    56
    78
    99
    33

    Sheet2
    A B C D
    0 0 0 12
    0 0 89 0
    0 0 0 78
    0 0 33 0

    Macro colour cell A3 and A6 because figure 56 and 99 not going to sheet2 in C and D column
    Attached Files Attached Files

  11. #11
    Ali-imran
    Guest

    Re: Highlight cells which have no dependents or duplicate dependents

    No body like to help me

  12. #12
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Highlight cells which have no dependents or duplicate dependents

    Quote Originally Posted by Ali-imran View Post
    No body like to help me
    It would seem not.

Closed 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