+ Reply to Thread
Results 1 to 3 of 3

Conditional formating not working

  1. #1
    Registered User
    Join Date
    06-07-2012
    Location
    San Francisco
    MS-Off Ver
    Excel 2010
    Posts
    18

    Conditional formating not working

    See Example below (i cant upload the one i am using unfortunatley).

    a b c d e
    1 10:00 11:00 12:00 13:00
    2 10:00 11:00 12:00 13:00
    3 10:00 11:00 12:00 13:00
    4 11:00


    in row 1,2,3 // Collumns B, C,D,E i have Time values formated in Time: 13:30

    In A4 i have a time value also formatted in Time: 13:30

    When using conditional formatting i use a formula to assist in matching:
    Formula: =$A$4=B1
    Format: Yellow
    Applies to: =$B$4:$E$4

    In theory this should highlight the cell wehre my time in A4 match a corresponding value in a cell above my applied cells. In the example it works with all scenarios where i change C1 to C2 to C3. But in my own spreadsheet for some reason it does not. When i change C1 to C2 or C3, the cell does not highlight. i first thought this may be a cell formatting issue and made sure they were all formatted as TIME: 13:30. this did not change the highlighitng issue. im struggling here

    i have tried closing Excel, and tried re-formatting each cell to make sure they are all TIME: 13:30

    Unfortunatley im under some time constraint and could really use some help if possible.

    Thank you,

    -Ryan

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Conditional formating not working

    I know you said you could not upload, but it seems like that is the best path to a solution. Sounds like you mimicked the formatting on a simple worksheet and it worked, so your theory is sound, but something is 'wrong' with the failing spreadsheet.
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

  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,938

    Re: Conditional formating not working

    =$A$4=B1
    Check that these 2 really are the same. Even a 1-second difference will make them different to excel.
    try the following...
    1. =exact($A$4,B1) FALSE indicates they do not match
    2. Format both cells as General, and increase decimal places to about 15, see if they match

    You may need to use round/roundup/rounddown to get them to match properly
    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. Replies: 5
    Last Post: 12-08-2014, 06:55 PM
  2. Conditional formating non working days
    By Mangrove in forum Excel General
    Replies: 1
    Last Post: 06-05-2013, 09:58 PM
  3. conditional formating not working
    By tsatsos007 in forum Excel General
    Replies: 5
    Last Post: 12-30-2010, 09:45 AM
  4. Conditional formating not working
    By ujjawal in forum Excel General
    Replies: 1
    Last Post: 07-27-2009, 01:39 PM
  5. Conditional formating not working on #Value!
    By feejo in forum Excel General
    Replies: 1
    Last Post: 03-05-2008, 05:27 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