+ Reply to Thread
Results 1 to 7 of 7

[SOLVED] format cells yyyymmdd and then conditional format

  1. #1
    Registered User
    Join Date
    03-17-2010
    Location
    Fort Riley
    MS-Off Ver
    Excel 2010
    Posts
    37

    [SOLVED] format cells yyyymmdd and then conditional format

    Hi I am trying to establish within a cell to read the date as 20100802 (YYYYMMDD) from this I would like it to automatically change to orange 90 days out, yellow at 60 days out, and red at 30 days out.
    Last edited by joesport5; 08-02-2010 at 02:57 PM.

  2. #2
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: format cells yyyymmdd and then conditional format

    Attached is an example workbook.

    Essentially, to display as YYYYMMDD, simply go to "Format" -> "Cells" -> "Number" tab and select "Custom". Enter "YYYYMMDD" into the box provided and click "Ok".

    To apply the conditional formatting, go to "Format" -> "Conditional Formatting". You'll need three seperate conditions, so click "Add >>" twice.

    All conditions will be "Cell value is" and "greater than or equal to". The first formula will be "=TODAY()+90". The second formula will be "=TODAY()+60" and the third will be "=TODAY()+30".

    Click "Format on each of the three conditions, navigate to the "Patterns" tab and select the appropriate color. Click "ok" to confirm.

    Then click "Ok" again to confirm the whole shebang.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    03-17-2010
    Location
    Fort Riley
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: format cells yyyymmdd and then conditional format

    I understand all of your post and even looked (cut and paste) onto mine, however everytime I tried to enter a date I get nothing but ################. I am entering it 20100802

  4. #4
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: format cells yyyymmdd and then conditional format

    Enter it 08/02/2010. It will redisplay as 20100802.

  5. #5
    Registered User
    Join Date
    03-17-2010
    Location
    Fort Riley
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: format cells yyyymmdd and then conditional format

    Thanks that works

  6. #6
    Registered User
    Join Date
    08-02-2010
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    3

    Smile Re: [SOLVED] format cells yyyymmdd and then conditional format

    hey. thanks for this solution! Is there a way to utilize a same function and make a window pop-up when a date is about a week away?

    I work in a office of Respiratory Therapists and would like to incorporate a function to alert me when licenses are close to expiring.


    Any advice would be AWESOME! Thanks in advanced!

  7. #7
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: [SOLVED] format cells yyyymmdd and then conditional format

    sean2Minu, please start a new thread for your question. I will be more than happy to assist you once you do.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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