+ Reply to Thread
Results 1 to 7 of 7

Create coloured cells depending on value of cell

  1. #1
    Registered User
    Join Date
    11-05-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    5

    Create coloured cells depending on value of cell

    Hi

    I am trying to make excel colour a certain cell depending on how many months arrears a tenant is in.

    Aiming to create a traffic light system i.e those who are in line with their payments cells will be coloured green, those who are in arrears of less than 1 month will be yellow. Those who are 1 month and below 2 month will be amber and those who are more than 2 months in arrears will be red.

    I have produced a mock workbook which I hope will explain this more effectively.

    Any suggestions will be welcomed

    Many thanks

    Will
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    02-04-2009
    Location
    Texas
    MS-Off Ver
    Excel 2016
    Posts
    665

    Re: Create coloured cells depending on value of cell

    Conditional Formatting
    Set up 4 rules for the Owed column
    New - Use Fomula - Set Formating for fill
    Green:=$F3=$F$18
    Yellow:=AND($F3<0,$F3>(-1*$B3))
    Orange:=AND($F3<((-1*$B3)+1),$F3>((-1*$B3)*2))
    etc...

  3. #3
    Valued Forum Contributor
    Join Date
    02-04-2009
    Location
    Texas
    MS-Off Ver
    Excel 2016
    Posts
    665

    Re: Create coloured cells depending on value of cell

    oh, I had 0 in F18 but you would do the formula =$F3=0

  4. #4
    Registered User
    Join Date
    11-05-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Create coloured cells depending on value of cell

    Hi

    Could you elaborate on how to do that. I'm not familiar with conditional formatting

    Thanks

    Will

  5. #5
    Valued Forum Contributor
    Join Date
    02-04-2009
    Location
    Texas
    MS-Off Ver
    Excel 2016
    Posts
    665

    Re: Create coloured cells depending on value of cell

    Highlight the column, go to Conditional formatting, manage, then edit each rule to see what I did.
    when you are setting up conditional formatting for a range:
    To make the rule refer to a certain column use $ as in $B3 (this points the formula to column B, and relative location row 3)
    When I use F3 - this sets the Column as relative AND the row as relative
    Note: my range that I applied the formatting to was F3:F6 J3:J6 and N3:N6 -so F3 in the formula applies to F3,J3, & N3

    Sorry I missed your reply, I hope this helps
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    11-05-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Create coloured cells depending on value of cell

    That's helped a lot.

    Quick question when I copy the formula you have used and click ok it changes it from this =F3<((-1*$B3)*2)+1 to =XFB3<((-1*$B3)*2)+1 any ideas why it's doing that?

    Thanks

  7. #7
    Valued Forum Contributor
    Join Date
    02-04-2009
    Location
    Texas
    MS-Off Ver
    Excel 2016
    Posts
    665

    Re: Create coloured cells depending on value of cell

    because it is screwy - when I create a formula in conditional formatting - it will do stuff like that, sometimes it makes the cell reference different.
    I have gotten into the habit of setting up the formatting, saving, and immediately going back to edit it.
    Once you fix it and save, it will work.

    I am sure there is a good explanation, I just don't know it.

+ 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. How can I count coloured cells (coloured using Conditional Formatting)
    By franfry in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-15-2013, 02:40 PM
  2. Replies: 0
    Last Post: 03-07-2013, 05:31 PM
  3. [SOLVED] Create A Progress Bar Using Different Coloured One-Click Cells
    By swordswinger710 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-07-2012, 02:27 PM
  4. Coloured cells based on other cell info
    By Nightshift86 in forum Excel General
    Replies: 4
    Last Post: 05-20-2010, 02:42 AM
  5. Replies: 2
    Last Post: 03-04-2008, 07:42 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