+ Reply to Thread
Results 1 to 8 of 8

Conditional Formatting quirk (loses indention)

  1. #1
    Registered User
    Join Date
    01-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    Conditional Formatting quirk (loses indention)

    So I have conditional formatting using this formula: =SUM($B7="pass"). Basically if column B contains "pass" then that cell and the corresponding cell in column A turn Green. I also have column B setup as a drop down menu with "Pass, Fail, n/a."

    So here's the quirk I can't figure out. If you select "pass" from the drop down menu for B1, then A1 and B1 both turn green as expected.

    If I manually type "pass" in B1, then click onto any other cell, then again both A1 and B1 turn green.

    Any time I press ENTER, Delete, all cells formatted with the conditional formatting lose their indention.

    Also if I type in any cell and press an arrow key all conditionally formatted cells lose their indention.

    If I then select "pass," "Fail," or "n/a" from the drop down in column B, all conditionally formatted cells regain their indent. I'm so baffled.
    Last edited by nos402; 01-21-2013 at 08:44 PM.

  2. #2
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: Conditional Formatting quirk (loses indention)

    Hi nos402,

    How very strange. Firstly, your formula does not need the "sum" part of it, since you are only referencing one cell. It can be shortened to =$B7="pass"

    This might help? Otherwise I'm just as baffled as you. Could you possibly upload a sample spreadsheet so I can mess around with it myself?
    Did I help? Click *- add to my rep.

  3. #3
    Registered User
    Join Date
    01-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Conditional Formatting quirk (loses indention)

    Removed SUM but still the same. Spreadsheet can be found here.

  4. #4
    Registered User
    Join Date
    01-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Conditional Formatting quirk (loses indention)

    And it gets weirder. Here is another spreadsheet, that keeps its indent. I have yet to find the difference.
    Last edited by nos402; 01-22-2013 at 05:04 PM.

  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 quirk (loses indention)

    I looked at your upload in #4, to begin with, there is no drop-down in any cell in B.

    when you delete "pass", the CF is doing exactly what you told it to...nothing. The CF is still there, nothing has changed - it is just waiting for you to enter something you have have told it to check for.

    delete "pass" then type it back in - turns green
    type in fail - turns pink
    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

  6. #6
    Registered User
    Join Date
    01-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Conditional Formatting quirk (loses indention)

    Weird, both spreadsheets have drop down menus for every cell in column B for me.
    The main difference or me is that the first loses its indent when the CF formats it and the second one doesn't.

  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
    52,933

    Re: Conditional Formatting quirk (loses indention)

    if you are talking about the indenting in column A, i see no change in either file. and in any case, CF cannot be used to apply (or remove) conditional formatting (at least, not in 2007)

    try to upload the file using the "go advanced" "manage attachments" so that we can see the file name that you upload (editing shows test.xlsx and test2.xlsx), maybe you uploaded the wrong file the 1st time?

  8. #8
    Registered User
    Join Date
    01-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Conditional Formatting quirk (loses indention)

    Those are the right names and I opened them both myself to verify the behavior for me here (on Excel 2010). lET'S SEE IF THIS UPLOAD WORKS...

    test.xlsx
    test2.xlsx

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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