+ Reply to Thread
Results 1 to 3 of 3

Highlight part of cell based off another

  1. #1
    Registered User
    Join Date
    03-29-2014
    Location
    Alberta, Canada
    MS-Off Ver
    Excel - Office 365
    Posts
    45

    Highlight part of cell based off another

    Greetings,

    I have a spreadsheet that has one cell filled with values and I want when that same value is entered into another cell to only highlight that same text and not the entire cell.

    In the sample attached B2 had the multiple values. Cell C5 has the one value that matches one in cell B5 that I would like to be highlighted.

    Thanks in advance,
    Jess
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,767

    Re: Highlight part of cell based off another

    Mis-undertood: solved elsewhere?
    Last edited by JohnTopley; 11-01-2016 at 11:58 AM.

  3. #3
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: Highlight part of cell based off another

    Try this step called Conditional Formatting:
    1. select C5
    2. click on "Home" tab
    3. click on "Conditional FOrmatting" button and select "New Rules..." option by click it
    4. And "New Formatting Rule" box will showed up
    5. And "Select a Rule Type" on "Use a formula to determine which cells to format"
    6. Put this formula on "Format values where this formula is true:" =OR(ISNUMBER(SEARCH(TRIM(MID(SUBSTITUTE(C5," ",REPT(" ",99)),1+99*(ROW(OFFSET($A$1,,,1+LEN(C5)-LEN(SUBSTITUTE(C5," ",""))))-1),99)),$B$1)))
    7. don't forget to choose how to format the cells by click on "Format" button
    8. Last step copy the format with "Format Painter" button on "Home" tab

    Hope my self clear, if still doesn't work check the file in attachment
    Attached Files Attached Files
    Last edited by azumi; 11-01-2016 at 12:09 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Highlight cell based on total quantity value based on repeated order numbers
    By PWilson0727 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-29-2014, 02:02 PM
  2. Replies: 1
    Last Post: 03-06-2014, 07:14 PM
  3. Replies: 8
    Last Post: 01-28-2014, 05:15 PM
  4. Replies: 3
    Last Post: 04-30-2012, 04:43 PM
  5. Highlight cell with value or part of value
    By Ashleyyy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-27-2011, 03:42 PM
  6. Cut part of row based on cell value
    By uncleslinky in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-30-2011, 09:44 AM
  7. Highlight Part Of Cell Based On Input
    By sysco in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-05-2006, 09:12 AM

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