+ Reply to Thread
Results 1 to 2 of 2

Conditional Formatting based on input mask or not meeting your custom format.

  1. #1
    Registered User
    Join Date
    05-22-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Conditional Formatting based on input mask or not meeting your custom format.

    Hi

    I hope you are all well.

    I was wondering if there is a way to highlight cells that do not match your criteria similar to an input mask in Access.

    For example:

    I am using a right (A4, 7) formula on a phone number to find unique records.

    However, the issue occurs when the format I receive has mutliple phone number configurations:
    i.e: 1. (XX) XXXX XXXX (perfect)
    2. (XX) XX XXXXXX
    3. (XX) XXXXXXXX
    4. XXXXXXXXXX

    Therefore, if there is a way to highlight results that do not come back as X XXXX.

    Thanks for any help that is given.

    Matt

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,042

    Re: Conditional Formatting based on input mask or not meeting your custom format.

    Hi and welcome to the forum

    Take a look at using Conditional Formatting (home tab/styles), there are various options for creating rules, but I suggest you start with "use formula". Create the formula IN the worksheet, composed so that it will return a TRUE where you need it to, then transfer that formula to the CF rule
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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] Excel 2010 Conditional Formatting to Highlight input cells based on Dates
    By chrisb84 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-20-2013, 09:39 AM
  2. Replies: 4
    Last Post: 02-25-2013, 06:43 PM
  3. Conditional Date Formatting with a Custom Cell Format
    By kqueen in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-28-2012, 01:48 PM
  4. Replies: 4
    Last Post: 10-18-2011, 02:54 PM
  5. [SOLVED] Time input mask format
    By WNB-96740 in forum Excel General
    Replies: 2
    Last Post: 12-16-2005, 11:20 AM

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