+ Reply to Thread
Results 1 to 4 of 4

Formula in conditional formating

  1. #1
    Registered User
    Join Date
    03-25-2013
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    10

    Question Formula in conditional formating

    I am trying to set a conditional format in a column that is based on two requirements - that a relative cell in another column (G) is not blank and that the formatted cell (in column J) does not contain a certain string of characters within the text (TRX139 - which could appear anywhere in the text).

    The formula I finally came up with was =AND($G2<>"",($J2<>"*TRX139*")). But it's not working and I'm fried and need to move on to another task for a while.

    Can anyone help me solve this before I get back to it?

    Thanks,

    Bryan

  2. #2
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    485

    Re: Formula in conditional formating

    Try this:

    =AND($G2<>"",ISERROR(FIND("TRX139",$J2)))

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Formula in conditional formating

    hi Bryan. another alternative:
    =AND($G2<>"",COUNTIF($J2,"<>*TRX139*"))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula in conditional formating

    Use Search() instead of Find(). Since, Find() is case sensitive


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ 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] need a formula in conditional formating
    By sharadmaxwell in forum Excel General
    Replies: 13
    Last Post: 04-27-2016, 11:02 AM
  2. Conditional formating formula
    By awest181 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-26-2014, 11:46 AM
  3. Replies: 4
    Last Post: 01-23-2014, 10:14 AM
  4. Conditional formating and If formula used together
    By Triscia in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-03-2012, 11:48 AM
  5. Conditional formating or formula
    By buckshot in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-23-2010, 09:01 PM
  6. Conditional formating-What formula do i need to use in conditional formating
    By warrima in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-07-2009, 12:33 AM
  7. [SOLVED] Formula for Conditional Formating - Help!
    By Mark Campbell in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-26-2006, 03:00 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