+ Reply to Thread
Results 1 to 6 of 6

conditional formatting rule: highlight all cells that match the current cell?

  1. #1
    Registered User
    Join Date
    06-21-2013
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    6

    conditional formatting rule: highlight all cells that match the current cell?

    In Excel 2010, hoping to highlight all the cells in a range (about 100 cells) that match whatever's in the cell I'm currently in. All cells contain plain text (cells in the range being highlighted, and cells in the range being navigated with the cursor, and the two ranges do overlap).

    Been fumbling around with variations on INDIRECT(), CELL(), ROW(), and COLUMN(), ... but no luck. I seem to get either everything always highlighted, or nothing ever highlighted.

    Any help greatly appreciated!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: conditional formatting rule: highlight all cells that match the current cell?

    To the best of my knowledge (and I have been wrong many times lol), excel on its own (as in, just by using regular formulas), does not know what cell it is in.. I thknk you will need some-one to put some VBA code together for this
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: conditional formatting rule: highlight all cells that match the current cell?

    Hello ottenm,

    As FDibbins says:
    I think you will need some-one to put some VBA code together for this
    I think he is right.

    Please see if you can make do with the attached sample WorkBook.

    Also see the "Please consider" note at the bottom of this post.
    Attached Files Attached Files
    Last edited by Winon; 06-27-2013 at 05:51 PM. Reason: Improved Code
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: conditional formatting rule: highlight all cells that match the current cell?

    Hello ottenm,

    Did you manage to come right with your issue?

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: conditional formatting rule: highlight all cells that match the current cell?

    wow that takes me back....did you come right.... such an SA expression

  6. #6
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: conditional formatting rule: highlight all cells that match the current cell?

    @ FDibbins,

    Thank you for the feedback, and the "Rep."

    I truly was not aware that ...did you come right...is such an SA expression! Should I rather avoid using it?

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: conditional formatting rule: highlight all cells that match the current cell?

    No, I think its cool, and describes the question very well...kinda like spookassem

+ 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