+ Reply to Thread
Results 1 to 8 of 8

Conditional Formatting Issues...

  1. #1
    Registered User
    Join Date
    01-11-2019
    Location
    Gloucester, England
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    9

    Conditional Formatting Issues...

    Hi All,

    I am having some issues with Conditional Formatting. I want to get a range of cells to be in colour when a separate range of cells' values are within two other cells. I.E I want F4:AX4 to be in colour when the range F3:AX3's values are between the values in cells D4 and E4. The current rule i have worked out is; =IF(AND($F$3:$AX$3>=MIN($D$4),$F$3:$AX$3<=MAX($E$4)),TRUE,FALSE)
    But this doesn't seem to be working!

    Please can anyone advise?!

    Thanks in advance
    Attached Files Attached Files
    Last edited by Dink37797; 01-11-2019 at 06:00 AM.

  2. #2
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Conditional Formatting Issues...

    you need to put the max and min around the ranges and not around the single cells
    also the if statement is obsolete. the AND formula is also a boolean function that outputs TRUE or FALSE that will trigger the CF

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    If you need further assistance please upload a sample file so it is easier to show and explain in the sheet

  3. #3
    Registered User
    Join Date
    01-11-2019
    Location
    Gloucester, England
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    9

    Re: Conditional Formatting Issues...

    Hi there,

    Still not working unfortunately. I have attached a sample work sheet to hopefully better explain what I mean. Thanks

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

    Re: Conditional Formatting Issues...

    Is the attached file what you are trying to achieve?

    I used this rule for F2:AX2:

    =AND(F$1>=$D2,F$1<=$E2)

    then used the Format Painter to apply the rule successively to the following rows (having deleted the rules that were in there first).

    Hope this helps.

    Pete
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-11-2019
    Location
    Gloucester, England
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    9

    Re: Conditional Formatting Issues...

    Unfortunately that didn't seem to work on my live spreadsheet. Ideally I want to have one rule for the whole row and then just alter each row rule to reference the right cells..

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

    Re: Conditional Formatting Issues...

    You select all the cells in one row, from F2 to AX2. Then you click on Conditional Formatting and enter the CF formula as if it was just for the first cell in the highlighted range, being careful where you put $ to anchor the row/column. When you click Apply or OK, Excel will adjust the actual formula for each cell in the range, so you only need to put it in once.

    Hope this helps.

    Pete

  7. #7
    Registered User
    Join Date
    01-11-2019
    Location
    Gloucester, England
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    9

    Re: Conditional Formatting Issues...

    I got it to work Thank you!

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

    Re: Conditional Formatting Issues...

    That's good to hear.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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 Issues
    By euanm in forum Excel General
    Replies: 3
    Last Post: 10-17-2017, 02:32 AM
  2. Conditional Formatting Issues
    By jcolesRA725 in forum Excel General
    Replies: 2
    Last Post: 08-08-2016, 12:45 PM
  3. [SOLVED] Need Help: Conditional Formatting Issues
    By Jung Bin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-15-2015, 04:52 AM
  4. Having Issues with Conditional Formatting...
    By tatumrae in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-27-2014, 06:30 PM
  5. Conditional Formatting issues
    By ragingfred in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-20-2013, 03:55 PM
  6. Conditional Formatting Issues
    By merlot in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-06-2005, 11:05 PM

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