+ Reply to Thread
Results 1 to 4 of 4

Conditional format row based on multiple criteria

  1. #1
    Registered User
    Join Date
    11-12-2017
    Location
    Stafford, England
    MS-Off Ver
    365
    Posts
    184

    Conditional format row based on multiple criteria

    Hi,

    I have conditional format rule to highlight rows if two criteria are present, these are TCN****** (6 digit number), and A********** (10 digit number).

    My current formula is
    =COUNTIF($L5, "TCN* A**********")

    This works fine if the criteria is found as TCN first and A* second, but if they are the other way around or other data in between then it doesn't highlight.

    What would the formula be to highlight the rows if the criteria is in any order within the cell?

    Also tried
    =COUNTIF($L5,"TCN*")+COUNTIF($L5, "A*") but returns incorrect results

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Conditional format row based on multiple criteria

    Hi

    You can try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by José Augusto; 12-01-2018 at 07:13 AM. Reason: Show alternative more exact

  3. #3
    Registered User
    Join Date
    11-12-2017
    Location
    Stafford, England
    MS-Off Ver
    365
    Posts
    184

    Re: Conditional format row based on multiple criteria

    Thanks, used the first one and it seems to work fine.

    I wasn't a million miles away I suppose

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Conditional format row based on multiple criteria

    You are welcome.

    In fact, you were very close.

    Do not forget to mark this thread as solved.

+ 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 format 1 cell based on multiple criteria of other cells
    By SKooLZ in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-13-2015, 05:44 AM
  2. Conditional format based on multiple criteria macro
    By sokeefe14 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 05-08-2015, 09:00 AM
  3. [SOLVED] Conditional format based on 2 criteria
    By galvinpaddy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-04-2015, 03:22 PM
  4. [SOLVED] Conditional format based on multiple criteria
    By Kandy1084 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-24-2014, 01:36 AM
  5. Replies: 4
    Last Post: 12-17-2011, 06:11 PM
  6. Conditional format based on 4 criteria??
    By leem in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-02-2010, 11:10 AM
  7. [SOLVED] Conditional Format based on multiple criteria
    By maw230 in forum Excel General
    Replies: 9
    Last Post: 02-16-2010, 06:24 PM

Tags for this Thread

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