+ Reply to Thread
Results 1 to 2 of 2

Change color in cell based on multiple cells

  1. #1
    Registered User
    Join Date
    01-14-2019
    Location
    Norway
    MS-Off Ver
    2013
    Posts
    1

    Change color in cell based on multiple cells

    Hello,

    I have a question about changing color in a cell based on multiple cell values. I'll try to explain..

    - Cell A2 contains a start date, lets say 05.01.19, this date is not constant and can be 4 week from now or tomarrow.
    - I want cell A2 to change color to red or green, based on value in cell B2 are 0 or 100 when "todays date" has passed.
    - So if cell B2 has value 100 01.01.19, then cell A2 will be green 05.01.19.
    - But if cell A2 is 0 from 05.01.19 then A2 will be red.

    So, something like this: If "B2 are higher then 99" and if "A2's date has passed todays date", then set "cell A2 to green or red".

    A2 B2
    Contains a start date Contains value 0 or 100

    Is this possible?

    I hope it is understandable

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,739

    Re: Change color in cell based on multiple cells

    a sample sheet may help
    but you will need two conditional format formulas for the different colour fills
    Green OR Red - which is it ?
    different rule for green , different rule for red

    AND ( B2 > 99 , A2 > today() )
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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] How to make multiple cells change color based on one cell's text.
    By Ducky405 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-07-2017, 03:49 AM
  2. [SOLVED] Cell change color based on data of two different cells
    By trubio77 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-18-2017, 12:12 PM
  3. [SOLVED] Need to change cell color based off of RGB Color being defined in 3 cells
    By Chris McGlothen in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-01-2017, 02:13 PM
  4. [SOLVED] Change cell value and color based on anothers cells values
    By luizmachado in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-03-2016, 07:01 PM
  5. Change the color of Cells based on the value of another Cell
    By dml1783 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-30-2015, 02:40 AM
  6. [SOLVED] change fill color of a range of cells based on color of a cell?
    By DarMelNel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-20-2014, 04:48 PM
  7. Replies: 2
    Last Post: 05-11-2009, 01:41 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