+ Reply to Thread
Results 1 to 4 of 4

Condtional formatting based on a letter being selected from 2 entered in another cell?

  1. #1
    Registered User
    Join Date
    02-04-2013
    Location
    London, England
    MS-Off Ver
    Excel 2011, mac
    Posts
    45

    Condtional formatting based on a letter being selected from 2 entered in another cell?

    Hi there so weird question

    I want to color code a cell yellow using conditional formating based on whether it matches the answer above. This is fine for me to do normally but today a weird one has come up where I need to be able to color a cell yellow if a letter from the cell above (which contains 2) is in the cell.

    AD
    A
    B
    D
    C

    In the table above the A cell and the D cell would both be yellow as A or D can be selected as defined in the header of the table data . is this possible using conditional formatting

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Condtional formatting based on a letter being selected from 2 entered in another cell?

    try
    =IFERROR(SEARCH(A2,A$1,1),FALSE)
    assuming the header AD is in A1
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    02-04-2013
    Location
    London, England
    MS-Off Ver
    Excel 2011, mac
    Posts
    45

    Wink Re: Condtional formatting based on a letter being selected from 2 entered in another cell?

    Oh wow thanks so much this is amazing!!!

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Condtional formatting based on a letter being selected from 2 entered in another cell?

    you are welcome

+ 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] condtional formatting to highlight entire row based on text
    By RachelMads02 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-05-2021, 11:28 PM
  2. Condtional Formatting Based on Another Column's Data
    By quacker711 in forum Excel General
    Replies: 4
    Last Post: 06-11-2013, 03:28 PM
  3. Replies: 2
    Last Post: 04-04-2013, 12:44 AM
  4. [SOLVED] Condtional formatting based on dates
    By rz6657 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-16-2013, 06:36 PM
  5. Condtional Formatting changes in the cell value
    By mfs3 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-01-2012, 07:23 PM
  6. Auto filing and condtional formatting cells based on cell value.
    By CJPHX in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-05-2011, 08:49 AM
  7. Auto filing and condtional formatting cells based on cell value.
    By SierraPants in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-04-2011, 05:59 PM

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