+ Reply to Thread
Results 1 to 13 of 13

conditional formatting gremlins!

  1. #1
    Registered User
    Join Date
    09-01-2023
    Location
    Teesside, England
    MS-Off Ver
    365
    Posts
    6

    Talking conditional formatting gremlins!

    Hi, I hope someone can help me with this, as I am pulling my hair out.
    Please be gentle- I have learned excel via google and you tube so far!

    I wanted certain cells in a table to turn red if the answers in another table were 'often' rather than 'sometimes' or 'not at all'.

    I used the conditional formatting formula $A1="often" then detailed the specific cells for it to change =$B$1, $C$1, $E$1.

    It worked fine for the first 10 times.


    Then it stopped working, and after clicking 'apply' the formula changed to ="$A1=""often"" or ="$A1=""""often"""" etc.

    I have tried deleting and retyping, but the same thing happens, with excel adding extra "" and =


    Why is this happening and how do I stop it?
    Am I using the wrong formula?

    Thanks for any help, I need to get this project finished for work for Monday.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: conditional formatting gremlins!

    In the Formula box you should type it (exactly) as:

    =$A1="often"

    i.e. you need the first equals sign to tell Excel that this is a formula.

    Hope this helps.

    Pete

  3. #3
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: conditional formatting gremlins!

    $A1="often" is not a formula, but only text. Please try
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Excel does not change that.

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,918

    Re: conditional formatting gremlins!

    does your worksheet actually have single quotes?
    Ben Van Johnson

  5. #5
    Registered User
    Join Date
    09-01-2023
    Location
    Teesside, England
    MS-Off Ver
    365
    Posts
    6

    Re: conditional formatting gremlins!

    Attachment 841554

    Attachment 841555

    as you can see, the ones above work fine

    the one below does not. It works for cell T8 but not Q8, and I can't see what I'm doing wrong

    Attachment 841553

    Thankyou everyone who has taken the time to reply

  6. #6
    Registered User
    Join Date
    09-01-2023
    Location
    Teesside, England
    MS-Off Ver
    365
    Posts
    6

    Re: conditional formatting gremlins!

    No it doesn't, all "

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,181

    Re: conditional formatting gremlins!

    Welcome to the forum.

    There is no format set in the third one. T8 is probably being affected by another rule. But you aren't setting the rules efficiently, so ...

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Last edited by AliGW; 09-03-2023 at 06:35 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  8. #8
    Registered User
    Join Date
    09-01-2023
    Location
    Teesside, England
    MS-Off Ver
    365
    Posts
    6

    Re: conditional formatting gremlins!

    This is an example of what it is changing it to after the first 10 or so entries.

    I input it exactly the same, apart from changing cell values.


    Attachment 841557

  9. #9
    Registered User
    Join Date
    09-01-2023
    Location
    Teesside, England
    MS-Off Ver
    365
    Posts
    6

    Re: conditional formatting gremlins!

    Thankyou. I will try to attach!

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,181

    Re: conditional formatting gremlins!

    There is no format set in the third one. T8 is probably being affected by another rule. But you aren't setting the rules efficiently, so attach a workbook.

  11. #11
    Registered User
    Join Date
    09-01-2023
    Location
    Teesside, England
    MS-Off Ver
    365
    Posts
    6

    Re: conditional formatting gremlins!

    Shortened workbook attached.

    The """ start at row 11
    Attached Files Attached Files

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,181

    Re: conditional formatting gremlins!

    I've removed your rules and applied three new ones:

    RED: =AND($P5<>"",$I5="often")
    AMBER: =AND($P5<>"",$I5="sometimes")
    GREEN: =AND($P5<>"",$I5="not at all")

    These each apply to: =$P$5:$R$25

    You can set up similar rules for other blocks of three - shout if you need help.

    The point is that you only need one rule for the entire range, not one rule per row.

    Select cell P5, open the CF dialog and have a look. I can help set up another block for you if you need help.
    Attached Files Attached Files

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,181

    Re: conditional formatting gremlins!

    If you want this sort of thing, then you will need NINE rules per block (see attached):

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    P
    Q
    R
    5
    not at all sometimes often not at all DYSLEXIA
    6
    often often often sometimes DYSLEXIA
    7
    often not at all often often DYSLEXIA
    8
    often often not at all DYSLEXIA
    9
    often often sometimes DYSLEXIA
    10
    sometimes often often DYSLEXIA
    11
    often often often
    Sheet: Prim_Part A
    Attached Files Attached Files

+ 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 based on another cells Conditional Formatting
    By chriskay in forum Excel General
    Replies: 4
    Last Post: 08-22-2019, 05:33 AM
  2. [SOLVED] Override conditional formatting (in general, without changing the conditional formatting)
    By Stormin' in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-21-2017, 07:15 AM
  3. Saved query truncated by gremlins?
    By philef in forum Excel General
    Replies: 1
    Last Post: 03-12-2017, 12:12 AM
  4. Replies: 6
    Last Post: 01-08-2016, 06:44 PM
  5. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  6. Replies: 8
    Last Post: 01-22-2014, 11:53 AM
  7. Replies: 1
    Last Post: 09-20-2013, 06:23 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