+ Reply to Thread
Results 1 to 8 of 8

Cannot Apply Conditional Formatting to Excel Workbook

Hybrid View

  1. #1
    Registered User
    Join Date
    05-04-2015
    Location
    London
    MS-Off Ver
    Office2013
    Posts
    4

    Cannot Apply Conditional Formatting to Excel Workbook

    I cannot seem to apply _any_ conditional formatting to my Excel workbook. All I want to do is apply a color scale
    to a particular column range, but for some reason the formatting just does not apply. I have had this set on this
    particular range of cells before, but I have recently changed the source data. I have cleared all existing rules from
    the workbook, but this has not helped; when I try and reapply the formatting, nothing happens.

    I am happy to share the workbook if anyone thinks they can help me.

    Thanks very much for your time.

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Cannot Apply Conditional Formatting to Excel Workbook

    My guess would be that the source data is in text format, not tested, but I'm quite sure that colour scale formatting only works with numeric values.

  3. #3
    Registered User
    Join Date
    05-04-2015
    Location
    London
    MS-Off Ver
    Office2013
    Posts
    4

    Re: Cannot Apply Conditional Formatting to Excel Workbook

    I have set the formatting explicitly. I had thousand separators as formatting and I found another issue where
    I could not remove them. I have now removed them by hand but still no luck. I have posted the workbook
    here (https://onedrive.live.com/redir?resi...nt=file%2cxlsx).
    If you could take a look it'd be most appreciated.

  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Cannot Apply Conditional Formatting to Excel Workbook

    As I said previously, your source data is in text format, that is why you couldn't remove the thousand separators by changing the format.

    Any time that you try to change formatting on numbers and it doesn't work that will be the reason why.

    If you go to the SquashLevels sheet, then select G1 (double click to enter edit mode) and move the cursor within the text, you will see that there is a space before the first digit, and another one after, whenever this happens, the data is text, and is formatted as such, even when it looks like a number.

    Another giveaway, is where you have entered =G1 into J1, the number is on the left side of J1. Text defaults to the left side, numbers would default to the right.

    The spaces in your sheet are not normal spaces, but can be removed easily.

    Go to the SquashLevels sheet, and make sure that you only have a single cell selected.

    Check that Num Lock on your computer is on (you need to use the number pad).

    Press Ctrl h to open the find and replace dialogue box.

    Click into the Find box, then hold down the Alt key, and type 0160 on the number pad (using the number keys along the top of the keyboard will not work).

    Release the Alt key.

    Click into the Replace box and check that it is empty.

    Click Replace All.

    That should have now cleared all of the stray characters from your data source and allow you to format numbers correctly (the problem was in columns B:H, not just column G).

    Hope all that makes sense.

  5. #5
    Registered User
    Join Date
    05-04-2015
    Location
    London
    MS-Off Ver
    Office2013
    Posts
    4

    Re: Cannot Apply Conditional Formatting to Excel Workbook

    Thank you very much for your time. This is great information that I just wasn't aware of.

    You time is most appreciated.

  6. #6
    Registered User
    Join Date
    05-04-2015
    Location
    London
    MS-Off Ver
    Office2013
    Posts
    4

    Re: Cannot Apply Conditional Formatting to Excel Workbook

    Thank you very much for your time. This was information I just wan not aware of.

    Massive help...

  7. #7
    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,048

    Re: Cannot Apply Conditional Formatting to Excel Workbook

    I have set the formatting explicitly.
    Formatting does not change the underlying contents of a cell, only the cosmetics of how it appears. If teh cell contains text, no amount of formatting will change that.
    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

  8. #8
    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,048

    Re: Cannot Apply Conditional Formatting to Excel Workbook

    Happy to help

+ 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] Apply conditional formatting to the entire workbook
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-11-2015, 11:41 AM
  2. [SOLVED] Want to apply conditional formatting
    By mshtuhin in forum Excel General
    Replies: 5
    Last Post: 07-04-2012, 07:41 AM
  3. Replies: 5
    Last Post: 02-28-2012, 04:47 PM
  4. Replies: 2
    Last Post: 09-09-2011, 05:42 AM
  5. Replies: 3
    Last Post: 04-30-2011, 11:46 PM
  6. Replies: 1
    Last Post: 11-12-2010, 03:18 PM
  7. [SOLVED] EXCEL 2003: Apply Conditional Formatting to COLUMNS
    By HWDFWXCLGuru in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-01-2005, 12:06 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