+ Reply to Thread
Results 1 to 2 of 2

Date color change question

  1. #1
    Registered User
    Join Date
    11-29-2023
    Location
    USA
    MS-Off Ver
    Excel
    Posts
    10

    Lightbulb Date color change question

    If cell A7, which is a future-date in date format and fill-colored green, reaches 30 days away from todays date change fill-color to orange and 7 days away change to color red. Is there a way to only change the dates that are green-colored dates and not non-green-filled dates also approaching 30 / 7 dates simultaneously.

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

    Re: Date color change question

    is there any rules for green to be coloured - or are these manually coloured - if just a manual Fill - then i suspect you will need VBA and afraid i dont provide VBA solutions to the forum , only way i know to do it is VBA not a function()

    What version of excel are you using - would be worth updating your profile to show version as solutions will be dependant on what version you have and therefore what functions available - office version like 2010/2013/2019/365 etc


    may also be worth considering
    A sample sheet would help here, and possibly will enable a quicker and more accurate solution for you.


    The forum does allow for spreadsheets to be uploaded direct to the forum -

    Please see the Yellow Banner at the top of the page explaining how to attach a sample spreadsheet

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.

    Here are the instructions, found at the top of the page again
    HOW TO ATTACH YOUR SAMPLE WORKBOOK:, Fast answers need clear examples. Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.
    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. 2 Excel VBA Question: How to make Global Variables and Change BG Color
    By TrickyNick77 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-16-2023, 04:03 PM
  2. Follow-up question to previous post...How do I change a cell color when ...
    By artemus06 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-13-2017, 12:56 PM
  3. [SOLVED] Question vba footer color: How to change font color?
    By clonedarkman in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-07-2014, 03:09 AM
  4. Change Default Cell Color (Analyst Question)
    By Centexcel in forum Excel General
    Replies: 1
    Last Post: 03-11-2014, 12:05 AM
  5. Replies: 1
    Last Post: 08-07-2008, 02:41 PM
  6. Replies: 5
    Last Post: 05-17-2006, 03:00 AM
  7. color change question
    By Travis in forum Excel General
    Replies: 2
    Last Post: 01-16-2005, 02:06 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