+ Reply to Thread
Results 1 to 8 of 8

Conditional Formatting Headache

  1. #1
    Registered User
    Join Date
    11-24-2021
    Location
    wales
    MS-Off Ver
    365
    Posts
    4

    Conditional Formatting Headache

    I have two questions about conditional formatting. 1 issue I have the output isn't correct, the 2nd I want to know if there just an easier way to accomplish the same output.

    Question_1:

    I am currently comparing two numbers (A1, A2)and I have the difference in a third cell (A3) I want to change Change the colour of Cell A1 based on the value of A3.

    This is what I have and it is all coming up either green or red.

    AND(A3>5.01,A3<-10.01) Colour == Amber

    A3<-10.01 Colour == Red

    AND(A3=0,A3>-5) Colour == Green

    A3 >0 Colour == Blue



    Question_2

    I have 7 possible grades and all grades have a point 1,2 and 3. So A1,A2,A3 ETC

    I want to colour the current grade to see if it is above or below their predicted grade. My issue is that as there are 21 possibilities I am creating conditional formatting for each possibility against each possibility. Both for if it is above and below. Below is a snippet just for the A1,A2,A3 to see if it is above the predicted grade.

    Can anyone think of anything quicker to accomplish this?

    TIA!






    =IF(AND(S4="A1",U4="A2"),TRUE,IF(AND(S4="A1",U4="A3"),TRUE,IF(AND(S4="A1",U4="B1"),TRUE,IF(AND(S4="A1",U4="B2"),TRUE,IF(AND(U4="A1",S4="B3"),TRUE,IF(AND(S4="A1",U4="C1"),TRUE,IF(AND(S4="A1",U4="C2"),TRUE,IF(AND(S4="A1",U4="C3"),TRUE,IF(AND(S4="A1",U4="D1"),TRUE,IF(AND(S4="A1",U4="D2"),TRUE,IF(AND(S4="A1",U4="D3"),TRUE,IF(AND(S4="A1",U4="E1"),TRUE,IF(AND(S4="A1",U4="E2"),TRUE,IF(AND(S4="A1",U4="E3"),TRUE,IF(AND(S4="A1",U4="F1"),TRUE,IF(AND(S4="A1",U4="F2"),TRUE,IF(AND(S4="A1",U4="F3"),TRUE,IF(AND(S4="A1",U4="G1"),TRUE,IF(AND(S4="A1",U4="G2"),TRUE,IF(AND(S4="A1",U4="G3"),TRUE,IF(AND(S4="A1",U4="F"),TRUE,IF(AND(S4="A1",U4="U"),TRUE,IF(AND(S4="A2",U4="A3"),TRUE,IF(AND(S4="A2",U4="B1"),TRUE,IF(AND(S4="A2",U4="B2"),TRUE,IF(AND(U4="A2",S4="B3"),TRUE,IF(AND(S4="A2",U4="C1"),TRUE,IF(AND(S4="A2",U4="C2"),TRUE,IF(AND(S4="A2",U4="C3"),TRUE,IF(AND(S4="A2",U4="D1"),TRUE,IF(AND(S4="A2",U4="D2"),TRUE,IF(AND(S4="A2",U4="D3"),TRUE,IF(AND(S4="A2",U4="E1"),TRUE,IF(AND(S4="A2",U4="E2"),TRUE,IF(AND(S4="A2",U4="E3"),TRUE,IF(AND(S4="A2",U4="F1"),TRUE,IF(AND(S4="A2",U4="F2"),TRUE,IF(AND(S4="A2",U4="F3"),TRUE,IF(AND(S4="A2",U4="G1"),TRUE,IF(AND(S4="A2",U4="G2"),TRUE,IF(AND(S4="A2",U4="G3"),TRUE,IF(AND(S4="A2",U4="F"),TRUE,IF(AND(S4="A2",U4="U"),TRUE,FALSE)))))))))))))))))))))))))))))))))))))))))))

    =IF(AND(S4="A3",U4="B1"),TRUE,IF(AND(S4="A3",U4="B2"),TRUE,IF(AND(s4="A3",u4="B3"),TRUE,IF(AND(S4="A3",U4="C1"),TRUE,IF(AND(S4="A3",U4="C2"),TRUE,IF(AND(S4="A3",U4="C3"),TRUE,IF(AND(S4="A3",U4="D1"),TRUE,IF(AND(S4="A3",U4="D2"),TRUE,IF(AND(S4="A3",U4="D3"),TRUE,IF(AND(S4="A3",U4="E1"),TRUE,IF(AND(S4="A3",U4="E2"),TRUE,IF(AND(S4="A3",U4="E3"),TRUE,IF(AND(S4="A3",U4="F1"),TRUE,IF(AND(S4="A3",U4="F2"),TRUE,IF(AND(S4="A3",U4="F3"),TRUE,IF(AND(S4="A3",U4="G1"),TRUE,IF(AND(S4="A3",U4="G2"),TRUE,IF(AND(S4="A3",U4="G3"),TRUE,IF(AND(S4="A3",U4="F"),TRUE,IF(AND(S4="A3",U4="U"),

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,335

    Re: Conditional Formatting Headache

    see big yellow banner - upload your workbook - so that we work with relevant data and format.
    possibly easier with VBA macro than conditional formatting.
    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

  3. #3
    Registered User
    Join Date
    11-24-2021
    Location
    wales
    MS-Off Ver
    365
    Posts
    4

    Re: Conditional Formatting Headache

    All of the data I am using for work is confidential.

    That is why I posted the actual formula I am using for the conditional formatting.

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Conditional Formatting Headache

    This formula makes no sense.

    AND(A3=0,A3>-5) Colour == Green
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  5. #5
    Registered User
    Join Date
    11-24-2021
    Location
    wales
    MS-Off Ver
    365
    Posts
    4

    Re: Conditional Formatting Headache

    It is a conditional formatting formula.

    It should be checking if A3 is between or equal to 0 and -5.
    The conditional formatting will then make A3 Green if TRUE.

  6. #6
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,335

    Re: Conditional Formatting Headache

    see big yellow banner - desensitise the data - we only need a dozen rows of typical format.
    help us to help you - very few of us are going to try and guess and waste our time constructing a sheet where one exists already.

  7. #7
    Registered User
    Join Date
    11-24-2021
    Location
    wales
    MS-Off Ver
    365
    Posts
    4

    Re: Conditional Formatting Headache

    I have just uploaded a small sheet with the example formatting.

    Thank you.
    Attached Files Attached Files

  8. #8
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,335

    Re: Conditional Formatting Headache

    your sample sheet does not appear to resemble your verbal descriptions.

+ 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 headache
    By Gadzooky in forum Excel General
    Replies: 7
    Last Post: 01-24-2019, 12:18 PM
  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. [SOLVED] Vlookup (Headache)
    By pmw19800 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-16-2017, 01:02 PM
  4. 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
  5. Conditional Formatting Headache
    By aborg88 in forum Excel General
    Replies: 5
    Last Post: 06-21-2012, 07:08 AM
  6. what a headache please help
    By Crasher in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-28-2006, 07:02 PM
  7. Looping headache
    By freddie mac in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-22-2006, 09:52 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