+ Reply to Thread
Results 1 to 6 of 6

Conditional Formatting not working

  1. #1
    Registered User
    Join Date
    02-11-2009
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Excel 2010
    Posts
    98

    Conditional Formatting not working

    I'm trying to get the conditional formatting in this spreadsheet to recognize when "MM" shows up, but it's not.

    I think it has something to do with the way the instrument outputs the value as "MM ", but if I include the space in my conditional formatting criteria, it does nothing.

    The first sheet is my analysis sheet, the second sheet comes from an instrument. The cells marked in gray are where the conditional formatting is.
    Attached Files Attached Files
    Last edited by timmtamm; 03-15-2017 at 02:24 PM. Reason: Solved
    Excel: Not my profession, but useful in it.

  2. #2
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Conditional Formatting not working

    Hi,

    I added two spaces after the MM in the applicable CF and it worked for me.

    Or you can do a FIND/REPLACE on column G of your "Instrument output" page to delete any spaces.

    Cheers

  3. #3
    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
    52,933

    Re: Conditional Formatting not working

    Try this instead...
    1. use Use Formula, instead of Contains
    2. use this as the formula...
    =SEARCH("mm",B7)
    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

  4. #4
    Registered User
    Join Date
    02-11-2009
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Excel 2010
    Posts
    98

    Re: Conditional Formatting not working

    Fantastic! Thanks everyone!

  5. #5
    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
    52,933

    Re: Conditional Formatting not working

    Happy to he[p and thanks for the feedback

  6. #6
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Conditional Formatting not working

    You are very welcome. Glad I could be of some assistance.

    Cheers

+ 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 not working?
    By Rheanna in forum Excel General
    Replies: 0
    Last Post: 06-24-2015, 11:49 AM
  2. conditional formatting not working
    By freshfruit in forum Excel General
    Replies: 2
    Last Post: 02-12-2014, 02:12 PM
  3. Conditional formatting VBA not working
    By ArtySin in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-12-2013, 07:41 PM
  4. Conditional Formatting is not working
    By rengrish in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-04-2012, 01:23 AM
  5. Conditional Formatting not Working
    By braydon16 in forum Excel General
    Replies: 7
    Last Post: 05-23-2012, 02:41 PM
  6. VBA working with conditional formatting
    By MARKSTRO in forum Excel Programming / VBA / Macros
    Replies: 31
    Last Post: 01-12-2012, 05:33 PM
  7. VBA conditional formatting not working
    By LarryC in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-26-2008, 09:43 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