+ Reply to Thread
Results 1 to 3 of 3

Conditional formating to highlight cells which contain text from other cells

Hybrid View

  1. #1
    Registered User
    Join Date
    11-10-2020
    Location
    Valencia
    MS-Off Ver
    16.42
    Posts
    11

    Conditional formating to highlight cells which contain text from other cells

    Conditional formating to highlight cells which contain text from other cells

    Effective I need a player search tool.

    To explain, I have a list of football starting line ups for 17 games. When we play the next matches I want to be able to put the 11 names from the days match into the Matchday list which i have created to quickly see when they have played in the previous matches.


    so in the cell range A2 - Q22 if there appears the name "Custudio" (as in Cell A27) then all the cells in the range A2 - Q22 should change to yellow if the name appears. I would like to repeat this for different colours with all the Cells in the match day list.

    When i change the name in A27.... for example to "Cuņat" then i would need all the cells with Cuņat to appear in yellow


    in the FOLLOWING MATCHES I will need to copy and past the next teams information into the excel sheet and be able to quickly type into the matchday list to get the same conditional formatting.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,434

    Re: Conditional formating to highlight cells which contain text from other cells

    Select all the cells in the range A2:R22 then click on Conditional Formatting | New Rule | Use a formula... , and then put this formula in the dialogue box which pops up:

    =ISNUMBER(SEARCH($A$27,A2))

    Note that you will probably need to use a semicolon ( ; ) instead of the comma ( , ), and you will need to translate the function names, depending on your regional settings.

    Click on the Format button | Fill tab and choose yellow, then OK your way out. Excel will automatically adjust the A2 cell reference to suit all the cells that had been selected.

    You can use the Format Painter icon to apply the formatting from column R into the next column when you need it.

    Hope this helps.

    Pete

  3. #3
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Conditional formating to highlight cells which contain text from other cells

    =SEARCH($A$27,A2) is enough for CF because ERROR is not TRUE but any numbers is true by default.

+ 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] conditional formating need modification to highlight matching cells
    By keshavtale in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-09-2019, 02:07 PM
  2. Replies: 16
    Last Post: 11-09-2014, 08:32 PM
  3. How to create macro/vba to highlight or conditional formating to a group of cells.
    By Dariusd7 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-13-2013, 06:26 PM
  4. [SOLVED] Highlight Cells using Conditional Formating
    By dompoma in forum Excel General
    Replies: 4
    Last Post: 04-05-2013, 05:44 PM
  5. Conditional formating highlight cells in column Q that have certain word in it
    By rain4u in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-30-2011, 02:26 PM
  6. Replies: 3
    Last Post: 09-14-2009, 03:13 PM
  7. Replies: 3
    Last Post: 08-28-2009, 11:16 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