+ Reply to Thread
Results 1 to 2 of 2

Date formula (display first day of 14th month from another field) and color coding

  1. #1
    Registered User
    Join Date
    04-22-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    1

    Date formula (display first day of 14th month from another field) and color coding

    Hi,

    I'm building a log of when training has been completed for employees and I want a formula so that the due date field will automatically be filled in once the last completed training date has been entered.

    For example, an employee completes a Proficiency Check (PC) on 2014-02-14... the due date for that is the first day of the 14th month, so in this case, 2015-04-01.

    I can't find a good formula to do that, any ideas?

    Secondly, I want to have the 11th month shown in green, the 12th month shown in amber, and the 13th month shown in red. So in the above example, for the entire month of Jan 2015 the color of the due date (2015-04-01) will be green, then for the entire month of Feb 2015 the color will be amber, and for the entire month of Mar 2015 it will be red.

    Is it possible to do that?

    Thanks very much for your time!

    4fifty8

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Date formula (display first day of 14th month from another field) and color coding

    Hi and welcome to the forum

    To get 14 days from a date, say A1, use EDATE()

    =EDATE(A1,14) 14 is the number of months

    to color code dates, you need to use Conditional Formatting - you will probably need to use the "use formula" option, with also maybe using EDATE(). Play around a bit with it and see how you make out
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Replies: 6
    Last Post: 04-08-2014, 03:16 PM
  2. Formula to display last day of month if current day is past X date?
    By WL2005HBD in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-17-2013, 08:02 AM
  3. coding for incrementing date by 1 month
    By dan2010 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-14-2010, 04:36 AM
  4. Converting a date field into a month-year only field
    By C.Hirsch in forum Excel General
    Replies: 1
    Last Post: 04-24-2006, 07:15 PM
  5. display just "Feb 14th" in date cell
    By Silvabod in forum Excel General
    Replies: 3
    Last Post: 02-16-2006, 12:40 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