+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting Based on Text in Another Cell

  1. #1
    Registered User
    Join Date
    01-21-2016
    Location
    Stevenage, UK
    MS-Off Ver
    MS Office 2013
    Posts
    1

    Conditional Formatting Based on Text in Another Cell

    Hello,

    Trust every1 is doin grt?
    Please i've got a scenario where i want to input text in one cell and based on the text a 'pop up' appears in another cell.

    http://www.excelforum.com/excel-gene...ell-value.html
    The above link sort of addresses my problem and i have used it

    =IF(AND(ISTEXT(O28),(O28)="red"),"Your message here","")
    my problem is that i want this message to also appear if "orange" is typed.
    Is this possible?

    Thanks in anticipation

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Conditional Formatting Based on Text in Another Cell

    try
    =IF(AND(ISTEXT(O28),OR(O28={"red","orange"})),"Your message here","")
    Last edited by shukla.ankur281190; 01-21-2016 at 06:12 AM.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Conditional Formatting Based on Text in Another Cell

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  4. #4
    Valued Forum Contributor
    Join Date
    04-26-2015
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    502

    Re: Conditional Formatting Based on Text in Another Cell

    If you want 2 messages

    =IF(O28="RED","Your Message 1",IF(O28="Orange","Message 2"," "))

    It will return Red or Orange or just leave a blank cell
    Last edited by BlindAlley; 01-21-2016 at 06:21 AM.

+ 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 Formatting Based on Text in Adjacent Cell
    By fearonc in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-19-2015, 06:15 PM
  2. VBA Conditional Formatting based on cell value and Text
    By uroy67640 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-09-2015, 01:38 AM
  3. Conditional Formatting Based on Another Cell's Text
    By computergeek in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 06-26-2012, 11:18 AM
  4. [SOLVED] Conditional Formatting Based on Another Cell's Text
    By computergeek in forum Excel General
    Replies: 6
    Last Post: 06-26-2012, 11:14 AM
  5. Replies: 1
    Last Post: 03-21-2012, 03:27 PM
  6. Replies: 2
    Last Post: 11-23-2010, 11:13 PM
  7. Replies: 4
    Last Post: 07-31-2009, 08:47 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