+ Reply to Thread
Results 1 to 6 of 6

Highlighting "Column A" if certain cells contain text

  1. #1
    Registered User
    Join Date
    06-16-2008
    Posts
    3

    Highlighting "Column A" if certain cells contain text

    I've been trying for over a week to work out a formula/macro for this and finally given up!

    I have a CD matrix that I use for work. The matrix includes a list of hard disk drive images and across the top has the CD numbers (Of my CD library e.g. CD33 Microsoft office v2) used to build the image.

    Cd’s get updated all the time, when they do hard drive images must also be updated.

    I want to have a cell that I type a CD number in, this will look for all images (marked with “x”) for the specified CD, and then highlight the CD image name.

    I have attached a link to download an example of what I am trying to achieve.

    http://rapidshare.com/files/12286448...ample.xls.html

    Any help would be greatly appreciated.

    Thanks,

    James
    Last edited by jamie2k; 06-16-2008 at 11:43 AM. Reason: Name mistake

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Highlighting "Column A" if certain cells contain text

    Try this...

    Using your posted workbook.
    Select C4:DA7....with C4 as the active cell

    From the Excel Main Menu:
    <format><conditional formatting>
    Condition_1: Formula is: =AND(C$2=$B$10,C4<>"")
    Click the [Format] button and set the highlight color, etc.
    Click the [OK] buttons until done.

    Now if you enter a value in cell B10...
    All cells under the matching CD number that ALSO are non-blank
    will highlight.

    Note: If you only want to hight cells containing an "X",
    then use this formula: =AND(C$2=$B$10,C4="X")

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    06-16-2008
    Posts
    3
    That is brilliant!

    One step closer, i just need a way to highlight the actual image name now in column "A".

    Thanks for your help Ron.


  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Highlighting "Column A" if certain cells contain text

    Using your posted workbook....Try this:

    Please Login or Register  to view this content.
    Does that help?

  5. #5
    Registered User
    Join Date
    06-16-2008
    Posts
    3
    Brilliant, that's perfect, makes it easily visable.

    Thank you very much Ron!!

  6. #6
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    You're very welcome

    I'm glad I could help.

+ 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